Removing LLVM_EXPLICIT, as MSVC 2012 was the last reason for requiring the macro...
[oota-llvm.git] / include / llvm / Support / StringPool.h
index b51974c946e0a342b0068e590aca7ca33f6c01d7..675adde043293ed5148635fc230c7d22dbd7e698 100644 (file)
@@ -129,7 +129,7 @@ namespace llvm {
     }
 
     inline const char *operator*() const { return begin(); }
-    inline LLVM_EXPLICIT operator bool() const { return S != nullptr; }
+    inline explicit operator bool() const { return S != nullptr; }
 
     inline bool operator==(const PooledStringPtr &That) const { return S == That.S; }
     inline bool operator!=(const PooledStringPtr &That) const { return S != That.S; }