Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit d4892f0

Browse files
committed
UpdateEdge is a static function
1 parent d64c4d1 commit d4892f0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/dyndep.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ bool DyndepLoader::LoadDyndeps(Node* node, DyndepFile* ddf,
5757
}
5858

5959
bool DyndepLoader::UpdateEdge(Edge* edge, Dyndeps const* dyndeps,
60-
std::string* err) const {
60+
std::string* err) {
6161
// Add dyndep-discovered bindings to the edge.
6262
// We know the edge already has its own binding
6363
// scope because it has a "dyndep" binding.

src/dyndep.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ struct DyndepLoader {
5757
/// information loaded from the dyndep file.
5858
bool LoadDyndeps(Node* node, std::string* err) const;
5959
bool LoadDyndeps(Node* node, DyndepFile* ddf, std::string* err) const;
60-
60+
static bool UpdateEdge(Edge* edge, Dyndeps const* dyndeps, std::string* err);
6161
private:
6262
bool LoadDyndepFile(Node* file, DyndepFile* ddf, std::string* err) const;
6363

64-
bool UpdateEdge(Edge* edge, Dyndeps const* dyndeps, std::string* err) const;
64+
6565

6666
State* state_;
6767
DiskInterface* disk_interface_;

0 commit comments

Comments
 (0)