aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Module.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r--include/llvm/Module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h
index 560554e3d0..3d68e736bf 100644
--- a/include/llvm/Module.h
+++ b/include/llvm/Module.h
@@ -104,7 +104,7 @@ private:
public:
/// The Module constructor. Note that there is no default constructor. You
/// must provide a name for the module upon construction.
- Module(const std::string &ModuleID);
+ explicit Module(const std::string &ModuleID);
/// The module destructor. This will dropAllReferences.
~Module();