pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src file_reader.hxx,1.1,1.2


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src file_reader.hxx,1.1,1.2
Date: 20 Dec 2002 19:39:15 -0000

Update of /usr/local/cvsroot/Games/Pingus/src
In directory dark:/tmp/cvs-serv25084

Modified Files:
        file_reader.hxx 
Log Message:
bye bye pointer, welcome references


Index: file_reader.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/file_reader.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- file_reader.hxx     20 Dec 2002 18:45:41 -0000      1.1
+++ file_reader.hxx     20 Dec 2002 19:39:13 -0000      1.2
@@ -28,11 +28,11 @@
 class FileReader
 {
 public:
-  virtual bool read_int   (const char* name, int*) =0;
-  virtual bool read_float (const char* name, float*) =0;
-  virtual bool read_bool  (const char* name, bool*) =0;
-  virtual bool read_string(const char* name, std::string*) =0;
-  virtual bool read_vector(const char* name, Vector*) =0;
+  virtual bool read_int   (const char* name, int&) =0;
+  virtual bool read_float (const char* name, float&) =0;
+  virtual bool read_bool  (const char* name, bool&) =0;
+  virtual bool read_string(const char* name, std::string&) =0;
+  virtual bool read_vector(const char* name, Vector&) =0;
 };
 
 #endif




reply via email to

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