Bläddra i källkod

oops, no newline

David Rose 23 år sedan
förälder
incheckning
67cce38a1b
1 ändrade filer med 2 tillägg och 2 borttagningar
  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()) {
     if (handle == TypeHandle::none()) {
       pgraph_cat.error()
       pgraph_cat.error()
-        << "Invalid type name: " + type_name;
+        << "Invalid type name: " << type_name << "\n";
       return false;
       return false;
 
 
     } else {
     } else {
@@ -242,7 +242,7 @@ add_component(string str_component) {
 
 
     if (handle == TypeHandle::none()) {
     if (handle == TypeHandle::none()) {
       pgraph_cat.error()
       pgraph_cat.error()
-        << "Invalid type name: " + type_name;
+        << "Invalid type name: " << type_name << "\n";
       return false;
       return false;
 
 
     } else {
     } else {