projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52ae6dd
)
Removed unused UnitsWaiting() function from State class.
author
Thiago Farina
<tfarina@chromium.org>
Tue, 19 Feb 2013 20:31:10 +0000
(17:31 -0300)
committer
Thiago Farina
<tfarina@chromium.org>
Tue, 19 Feb 2013 20:31:45 +0000
(17:31 -0300)
This function was added at
307f0bbd
("and some basic implementation"), but nobody
calls it anymore.
Signed-off-by: Thiago Farina <tfarina@chromium.org>
src/state.h
patch
|
blob
|
history
diff --git
a/src/state.h
b/src/state.h
index
326fbac
..
0a2e890
100644
(file)
--- a/
src/state.h
+++ b/
src/state.h
@@
-66,9
+66,7
@@
struct Pool {
/// Dump the Pool and its edges (useful for debugging).
void Dump() const;
-private:
- int UnitsWaiting() { return delayed_.size(); }
-
+ private:
string name_;
/// |current_use_| is the total of the weights of the edges which are