diff options
author | Alon Zakai <alonzakai@gmail.com> | 2018-02-05 15:55:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-05 15:55:21 -0800 |
commit | d322b4f3ce429de5215fd52db24735b8f85ab878 (patch) | |
tree | 2e9ccead3d61d2dce7950eadb1a22de7d1c544b0 /src/tools/wasm-metadce.cpp | |
parent | e33d487206e79b5e2fd1382627255a1ea39dad75 (diff) | |
download | binaryen-d322b4f3ce429de5215fd52db24735b8f85ab878.tar.gz binaryen-d322b4f3ce429de5215fd52db24735b8f85ab878.tar.bz2 binaryen-d322b4f3ce429de5215fd52db24735b8f85ab878.zip |
'std::string &' => 'std::string& ' (#1403)
The & on the type is the proper convention.
Diffstat (limited to 'src/tools/wasm-metadce.cpp')
-rw-r--r-- | src/tools/wasm-metadce.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/wasm-metadce.cpp b/src/tools/wasm-metadce.cpp index c5d12775d..4f90ee612 100644 --- a/src/tools/wasm-metadce.cpp +++ b/src/tools/wasm-metadce.cpp @@ -411,10 +411,10 @@ int main(int argc, const char* argv[]) { }) .add("--emit-text", "-S", "Emit text instead of binary for the output file", Options::Arguments::Zero, - [&](Options *o, const std::string &argument) { emitBinary = false; }) + [&](Options *o, const std::string& argument) { emitBinary = false; }) .add("--debuginfo", "-g", "Emit names section and debug info", Options::Arguments::Zero, - [&](Options *o, const std::string &arguments) { debugInfo = true; }) + [&](Options *o, const std::string& arguments) { debugInfo = true; }) .add("--graph-file", "-f", "Filename of the graph description file", Options::Arguments::One, [&](Options* o, const std::string& argument) { @@ -422,7 +422,7 @@ int main(int argc, const char* argv[]) { }) .add("--dump", "-d", "Dump the combined graph file (useful for debugging)", Options::Arguments::Zero, - [&](Options *o, const std::string &arguments) { dump = true; }) + [&](Options *o, const std::string& arguments) { dump = true; }) .add_positional("INFILE", Options::Arguments::One, [](Options* o, const std::string& argument) { o->extra["infile"] = argument; |