David Rose 23 éve
szülő
commit
67cce38a1b
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      panda/src/pgraph/findApproxPath.cxx

+ 2 - 2
panda/src/pgraph/findApproxPath.cxx

@@ -223,7 +223,7 @@ add_component(string str_component) {
 
     if (handle == TypeHandle::none()) {
       pgraph_cat.error()
-        << "Invalid type name: " + type_name;
+        << "Invalid type name: " << type_name << "\n";
       return false;
 
     } else {
@@ -242,7 +242,7 @@ add_component(string str_component) {
 
     if (handle == TypeHandle::none()) {
       pgraph_cat.error()
-        << "Invalid type name: " + type_name;
+        << "Invalid type name: " << type_name << "\n";
       return false;
 
     } else {