diff options
author | Thiago Farina <tfarina@chromium.org> | 2012-04-28 18:21:37 (GMT) |
---|---|---|
committer | Thiago Farina <tfarina@chromium.org> | 2012-04-28 18:24:57 (GMT) |
commit | a46abb1011cbf99bf9752bc440246dd5c1cb5a9a (patch) | |
tree | 9434c76ccc10b5da7c6346077d8ceb9ef5933808 /src/subprocess.cc | |
parent | e3b98c7fe46d1ecfc6246b76fbc2282ad61c0afb (diff) | |
download | Ninja-a46abb1011cbf99bf9752bc440246dd5c1cb5a9a.zip Ninja-a46abb1011cbf99bf9752bc440246dd5c1cb5a9a.tar.gz Ninja-a46abb1011cbf99bf9752bc440246dd5c1cb5a9a.tar.bz2 |
Put & operator with the type rather than the variable name.
Signed-off-by: Thiago Farina <tfarina@chromium.org>
Diffstat (limited to 'src/subprocess.cc')
-rw-r--r-- | src/subprocess.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subprocess.cc b/src/subprocess.cc index 25b1bda..0d240b1 100644 --- a/src/subprocess.cc +++ b/src/subprocess.cc @@ -172,7 +172,7 @@ SubprocessSet::~SubprocessSet() { Fatal("sigprocmask: %s", strerror(errno)); } -Subprocess *SubprocessSet::Add(const string &command) { +Subprocess *SubprocessSet::Add(const string& command) { Subprocess *subprocess = new Subprocess; if (!subprocess->Start(this, command)) { delete subprocess; |