summaryrefslogtreecommitdiff
path: root/tools/bit
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-12-20 13:54:17 -0800
committerChih-hung Hsieh <chh@google.com>2019-01-10 19:52:49 +0000
commit93561ab3b902746f679f8ef7ac73b9d069c322e8 (patch)
tree5bb5c9c3b00f18a85ad58aaaf387a14a77a5bd04 /tools/bit
parentc0f3daa11ab5038ea6338db8822c7a7bacb07a40 (diff)
Fix/suppress tools google-explicit-constructor warnings
* Add explicit to conversion constructors/operators * Remove redundant explicit of copy constructors Bug: 28341362 Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor Change-Id: Ic11c22c59beb7aa32b878a23315b1036ca4e3c6a
Diffstat (limited to 'tools/bit')
-rw-r--r--tools/bit/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bit/command.h b/tools/bit/command.h
index fb44900b0806..dd7103e10fe7 100644
--- a/tools/bit/command.h
+++ b/tools/bit/command.h
@@ -25,7 +25,7 @@ using namespace std;
struct Command
{
- Command(const string& prog);
+ explicit Command(const string& prog);
~Command();
void AddArg(const string& arg);