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/disk_interface.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/disk_interface.cc')
-rw-r--r-- | src/disk_interface.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/disk_interface.cc b/src/disk_interface.cc index 5a36685..74f33c4 100644 --- a/src/disk_interface.cc +++ b/src/disk_interface.cc @@ -103,7 +103,7 @@ TimeStamp RealDiskInterface::Stat(const string& path) { #endif } -bool RealDiskInterface::WriteFile(const string & path, const string & contents) { +bool RealDiskInterface::WriteFile(const string& path, const string& contents) { FILE * fp = fopen(path.c_str(), "w"); if (fp == NULL) { Error("WriteFile(%s): Unable to create file. %s", path.c_str(), strerror(errno)); |