explicit keywords.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42262 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2007-09-24 15:48:49 +00:00
parent 11a7dbf127
commit 746767b097
2 changed files with 9 additions and 9 deletions

View File

@@ -70,7 +70,7 @@ struct Expression {
SmallVector<uint32_t, 4> varargs;
Expression() { }
Expression(ExpressionOpcode o) : opcode(o) { }
explicit Expression(ExpressionOpcode o) : opcode(o) { }
bool operator==(const Expression &other) const {
if (opcode != other.opcode)