summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Chih-Hung Hsieh <chh@google.com> 2016-04-29 14:27:41 -0700
committer Chih-Hung Hsieh <chh@google.com> 2016-04-29 14:27:41 -0700
commit471118ef120cb075ccba9e307e2c1b9b5a584840 (patch)
tree584184f923f2f7f9931893f6a87d21239eab0451 /compiler/driver/compiler_driver.cc
parent3f8bcb5e9e15f5a93ff0416d7b32aefd3761e146 (diff)
Fix google-explicit-constructor warnings.
Bug: 28341362 Change-Id: Ic7e236a7f58c4021a3f8fb4536a6457d262fe62e
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r--compiler/driver/compiler_driver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index e84faff941..e62b80f8ce 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -945,7 +945,7 @@ bool CompilerDriver::ShouldVerifyClassBasedOnProfile(const DexFile& dex_file,
class ResolveCatchBlockExceptionsClassVisitor : public ClassVisitor {
public:
- ResolveCatchBlockExceptionsClassVisitor(
+ explicit ResolveCatchBlockExceptionsClassVisitor(
std::set<std::pair<uint16_t, const DexFile*>>& exceptions_to_resolve)
: exceptions_to_resolve_(exceptions_to_resolve) {}