diff options
author | Dan Gohman <gohman@apple.com> | 2009-07-16 15:33:04 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-07-16 15:33:04 +0000 |
commit | 7ecda1031173820ea5c6f12705d2eb78f9171965 (patch) | |
tree | 3a5c2c8b212d8ae9e99983aa7138b4965cee1ad7 | |
parent | 72c31296e912cf39e8dc3d268a9dda7e2d54f6ba (diff) | |
download | bcm5719-llvm-7ecda1031173820ea5c6f12705d2eb78f9171965.tar.gz bcm5719-llvm-7ecda1031173820ea5c6f12705d2eb78f9171965.zip |
Add explicit keywords.
llvm-svn: 76073
-rw-r--r-- | llvm/include/llvm/Support/raw_ostream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/raw_ostream.h b/llvm/include/llvm/Support/raw_ostream.h index 55cc957b20c..aeeb7e3abc4 100644 --- a/llvm/include/llvm/Support/raw_ostream.h +++ b/llvm/include/llvm/Support/raw_ostream.h @@ -365,7 +365,7 @@ class raw_string_ostream : public raw_ostream { /// counting the bytes currently in the buffer. virtual uint64_t current_pos() { return OS.size(); } public: - raw_string_ostream(std::string &O) : OS(O) {} + explicit raw_string_ostream(std::string &O) : OS(O) {} ~raw_string_ostream(); /// tell - Return the current offset with the stream. @@ -392,7 +392,7 @@ class raw_svector_ostream : public raw_ostream { /// counting the bytes currently in the buffer. virtual uint64_t current_pos(); public: - raw_svector_ostream(SmallVectorImpl<char> &O) : OS(O) {} + explicit raw_svector_ostream(SmallVectorImpl<char> &O) : OS(O) {} ~raw_svector_ostream(); /// tell - Return the current offset with the stream. |