OSDN Git Service

* include/bits/basic_string.tcc (operator+): Fix thinko.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / include / bits / basic_string.tcc
index ef26ea3..7c74b67 100644 (file)
@@ -549,7 +549,7 @@ namespace std
       __string_type __str;
       __size_type __len = __rhs.size();
       __str.reserve(__len + 1);
-      __str.append(__string_type::size_type(1), __lhs);
+      __str.append(__size_type(1), __lhs);
       __str.append(__rhs);
       return __str;
     }