Remove a couple of redundant copies of SmallVector::operator==.
[oota-llvm.git] / include / llvm / ADT / StringSwitch.h
index 7fd6e27960321a3e680fecf87d3f0467486ca01b..0393a0c373efc5f2becc640cef6b01c4bf368184 100644 (file)
@@ -49,7 +49,7 @@ class StringSwitch {
 
 public:
   explicit StringSwitch(StringRef S)
-  : Str(S), Result(0) { }
+  : Str(S), Result(nullptr) { }
 
   template<unsigned N>
   StringSwitch& Case(const char (&S)[N], const T& Value) {