projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c45453f
)
Add an explicit keyword. Thanks Chris!
author
Dan Gohman
<gohman@apple.com>
Fri, 29 Jun 2007 22:16:25 +0000
(22:16 +0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 29 Jun 2007 22:16:25 +0000
(22:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37819
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/SmallVector.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/SmallVector.h
b/include/llvm/ADT/SmallVector.h
index bb8cef4ce8a3c86ec505a25bf7950a3afcbd7dc3..876ca27fec72e62d1df8fd00e3ede1896046228c 100644
(file)
--- a/
include/llvm/ADT/SmallVector.h
+++ b/
include/llvm/ADT/SmallVector.h
@@
-442,7
+442,7
@@
public:
SmallVector() : SmallVectorImpl<T>(NumTsAvailable) {
}
- SmallVector(unsigned Size, const T &Value = T())
+
explicit
SmallVector(unsigned Size, const T &Value = T())
: SmallVectorImpl<T>(NumTsAvailable) {
this->reserve(Size);
while (Size--)