diff src/error.cc @ 3538:0ff7323dab8b

[project @ 2000-02-02 12:36:25 by jwe]
author jwe
date Wed, 02 Feb 2000 12:36:37 +0000
parents 97cf542676e1
children ab7fa5a8f23f
line wrap: on
line diff
--- a/src/error.cc
+++ b/src/error.cc
@@ -75,8 +75,8 @@
   octave_diary.vform (fmt, args);
   std::cerr.vform (fmt, args);
 
-  octave_diary << endl;
-  std::cerr << endl;
+  octave_diary << std::endl;
+  std::cerr << std::endl;
 }
 
 static void
@@ -93,7 +93,7 @@
   if (name)
     output_buf << name << ": ";
   output_buf.vform (fmt, args);
-  output_buf << endl << ends;
+  output_buf << std::endl << std::ends;
 
   char *msg = output_buf.str ();
 
@@ -399,7 +399,7 @@
 {
   if (error_message_buffer)
     {
-      *error_message_buffer << ends;
+      *error_message_buffer << std::ends;
 
       char *error_text = error_message_buffer->str ();