usata-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Usata-commits] Changes to usata2/src/objects/test_object.cpp


From: David Lau
Subject: [Usata-commits] Changes to usata2/src/objects/test_object.cpp
Date: Sat, 01 Jan 2005 22:11:43 -0500

Index: usata2/src/objects/test_object.cpp
diff -u usata2/src/objects/test_object.cpp:1.4 
usata2/src/objects/test_object.cpp:1.5
--- usata2/src/objects/test_object.cpp:1.4      Fri Dec 31 07:27:46 2004
+++ usata2/src/objects/test_object.cpp  Sun Jan  2 02:48:32 2005
@@ -10,7 +10,7 @@
 // included in the software distribution, or visit
 // http://www.fsf.org/licenses/gpl.html.
 //
-// $Id: test_object.cpp,v 1.4 2004/12/31 07:27:46 skunix Exp $
+// $Id: test_object.cpp,v 1.5 2005/01/02 02:48:32 skunix Exp $
 
 #include "../object.hpp"
 #include "../object-registry.hpp"
@@ -31,10 +31,10 @@
                        virtual void    update(void){};
                        virtual void    draw (void){};
                        virtual                 ~Something(){};
-                       virtual const std::string &name();
+                       virtual std::string name();
        };
 
-       const std::string&
+       std::string
        Something::name()
        {
                
n=(boost::format("address@hidden")%static_cast<void*>(this)).str();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]