]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/mapq3/parse.cpp
Replace custom string classes with std::string - gone forever version
[xonotic/netradiant.git] / plugins / mapq3 / parse.cpp
index 03b1acae0558c53136fb60f2dc1aab973e270aea..7d3ef3cc46ea9f740b3d1b96d1aada1d9161d24d 100644 (file)
@@ -38,7 +38,7 @@ inline MapImporter* Node_getMapImporter( scene::Node& node ){
 }
 
 
-typedef std::list< std::pair<CopiedString, CopiedString> > KeyValues;
+typedef std::list< std::pair<std::string, std::string> > KeyValues;
 
 NodeSmartReference g_nullNode( NewNullNode() );
 
@@ -99,7 +99,7 @@ NodeSmartReference Entity_parseTokens( Tokeniser& tokeniser, EntityCreator& enti
                }
                else // epair
                {
-                       CopiedString key( token );
+                       std::string key( token );
                        token = tokeniser.getToken();
                        if ( token == 0 ) {
                                Tokeniser_unexpectedError( tokeniser, token, "#epair-value" );