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 | 2a993f2cc44dc1113d67df03562866eb65337ff1 (patch) | |
tree | 8abe4f171c5cf91efa0bc7e72ada3946605b70e1 /include | |
parent | 688ed8583eaa1544e8e53b039b2b8284d2e9268a (diff) | |
download | external_llvm-2a993f2cc44dc1113d67df03562866eb65337ff1.zip external_llvm-2a993f2cc44dc1113d67df03562866eb65337ff1.tar.gz external_llvm-2a993f2cc44dc1113d67df03562866eb65337ff1.tar.bz2 |
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/raw_ostream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h index 55cc957..aeeb7e3 100644 --- a/include/llvm/Support/raw_ostream.h +++ b/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. |