Merge "Fix/suppress tools google-explicit-constructor warnings"

This commit is contained in:
Chih-hung Hsieh
2019-01-11 17:18:12 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ using namespace std;
struct Command
{
Command(const string& prog);
explicit Command(const string& prog);
~Command();
void AddArg(const string& arg);

View File

@@ -11,7 +11,7 @@ using namespace std;
struct Error
{
Error();
explicit Error(const Error& that);
Error(const Error& that);
Error(const string& filename, int lineno, const char* message);
string filename;