Fixed a strange construct. Please review.
[oota-llvm.git] / include / llvm / ADT / SmallString.h
index c7a292d8b9098b08f93d2ab51b9fe290e2ea31a9..2818ebb320119569adb459318608fe1492afc598 100644 (file)
@@ -49,6 +49,11 @@ public:
     this->append(RHS, RHS+strlen(RHS));
     return *this;
   }
+  SmallString &operator+=(char C) {
+    this->push_back(C);
+    return *this;
+  }
+  
 };