[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Adonthell-commits] CVS: adonthell/src storage.cc,1.10,1.11
From: |
Kai Sterker <address@hidden> |
Subject: |
[Adonthell-commits] CVS: adonthell/src storage.cc,1.10,1.11 |
Date: |
Mon, 01 Jul 2002 09:54:01 -0400 |
Update of /cvsroot/adonthell/adonthell/src
In directory subversions:/tmp/cvs-serv18967
Modified Files:
storage.cc
Log Message:
FIXED warnings when compiling with gcc 3.1
Index: storage.cc
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/storage.cc,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** storage.cc 24 Aug 2001 15:35:01 -0000 1.10
--- storage.cc 1 Jul 2002 13:53:59 -0000 1.11
***************
*** 23,27 ****
#ifdef _DEBUG_
! #include <iostream.h>
#endif
--- 23,27 ----
#ifdef _DEBUG_
! #include <iostream>
#endif
***************
*** 38,42 ****
{
#ifdef _DEBUG_
! cout << "storage::set_val \"" << key << "\" = " << value << endl;
#endif
if (!value) data.erase (key);
--- 38,42 ----
{
#ifdef _DEBUG_
! std::cout << "storage::set_val \"" << key << "\" = " << value <<
std::endl;
#endif
if (!value) data.erase (key);
***************
*** 52,58 ****
#ifdef _DEBUG_
if (data.find (key) != data.end ())
! cout << "storage::get_val \"" << key << "\" = " << data[key] << endl;
else
! cout << "storage::get_val no such key \"" << key << "\"" << endl;
#endif
if (data.find (key) == data.end ()) return 0;
--- 52,58 ----
#ifdef _DEBUG_
if (data.find (key) != data.end ())
! std::cout << "storage::get_val \"" << key << "\" = " << data[key] <<
std::endl;
else
! std::cout << "storage::get_val no such key \"" << key << "\"" <<
std::endl;
#endif
if (data.find (key) == data.end ()) return 0;
***************
*** 95,105 ****
{
#ifdef _DEBUG_
! cout << "*** objects::set: key already exists: '" << key << "'\n";
! cout << "*** container contents: ";
for (j = data.begin (); j != data.end (); j++)
! cout << "'" << (*j).first << "', ";
! cout << "\n\n" << flush;
#endif // _DEBUG_
--- 95,105 ----
{
#ifdef _DEBUG_
! std::cout << "*** objects::set: key already exists: '" << key <<
"'\n";
! std::cout << "*** container contents: ";
for (j = data.begin (); j != data.end (); j++)
! std::cout << "'" << (*j).first << "', ";
! std::cout << "\n\n" << flush;
#endif // _DEBUG_
***************
*** 122,127 ****
#ifdef _DEBUG_
! cout << "*** objects::get: key does not exist: '" << key << "'\n";
! cout << "*** container contents: ";
for (j = data.begin (); j != data.end (); j++)
--- 122,127 ----
#ifdef _DEBUG_
! std::cout << "*** objects::get: key does not exist: '" << key << "'\n";
! std::cout << "*** container contents: ";
for (j = data.begin (); j != data.end (); j++)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Adonthell-commits] CVS: adonthell/src storage.cc,1.10,1.11,
Kai Sterker <address@hidden> <=
- Prev by Date:
[Adonthell-commits] CVS: adonthell/src/tools/dlgedit dlg_arrow.cc,1.2,1.3 dlg_arrow.h,1.2,1.3 dlg_circle.cc,1.3,1.4 dlg_circle.h,1.3,1.4 dlg_compiler.cc,1.7,1.8 dlg_compiler.h,1.4,1.5 dlg_module.cc,1.4,1.5 dlg_module.h,1.3,1.4 dlg_node.h,1.2,1.3 gui_settings.cc,1.3,1.4 main.cc,1.56,1.57
- Next by Date:
[Adonthell-commits] CVS: adonthell/src/lmap - New directory
- Previous by thread:
[Adonthell-commits] CVS: adonthell/src/tools/dlgedit dlg_arrow.cc,1.2,1.3 dlg_arrow.h,1.2,1.3 dlg_circle.cc,1.3,1.4 dlg_circle.h,1.3,1.4 dlg_compiler.cc,1.7,1.8 dlg_compiler.h,1.4,1.5 dlg_module.cc,1.4,1.5 dlg_module.h,1.3,1.4 dlg_node.h,1.2,1.3 gui_settings.cc,1.3,1.4 main.cc,1.56,1.57
- Next by thread:
[Adonthell-commits] CVS: adonthell/src/lmap - New directory
- Index(es):