mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Add an explicit keyword. Thanks Chris!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37819 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c45453fa1d
commit
59310c3dc0
@ -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--)
|
||||
|
Loading…
Reference in New Issue
Block a user