Quelques warnings en moins (typename et inline).
This commit is contained in:
parent
657a462095
commit
8eba21e0d5
|
@ -1,7 +1,7 @@
|
|||
|
||||
// -*- C++ -*-
|
||||
//
|
||||
// $Id: MDRGrid.cpp,v 1.3 2002/10/29 18:46:03 jpc Exp $
|
||||
// $Id: MDRGrid.cpp,v 1.4 2004/07/23 08:50:04 jpc Exp $
|
||||
//
|
||||
// /----------------------------------------------------------------\
|
||||
// | |
|
||||
|
@ -429,8 +429,8 @@ int CDRGrid::dz (int index, int d)
|
|||
template<class __CNode__>
|
||||
TMatrix<__CNode__>::_CHollow::~_CHollow (void)
|
||||
{
|
||||
_CRow::iterator itRow;
|
||||
_CLayer::iterator itLayer;
|
||||
typename _CRow::iterator itRow;
|
||||
typename _CLayer::iterator itLayer;
|
||||
|
||||
|
||||
for (itLayer = nodes.begin ();
|
||||
|
@ -451,8 +451,8 @@ TMatrix<__CNode__>::_CHollow::~_CHollow (void)
|
|||
template<class __CNode__>
|
||||
__CNode__ &TMatrix<__CNode__>::_CHollow::add (int x, int y)
|
||||
{
|
||||
_CRow::iterator itRow;
|
||||
_CLayer::iterator itLayer;
|
||||
typename _CRow::iterator itRow;
|
||||
typename _CLayer::iterator itLayer;
|
||||
|
||||
|
||||
itLayer = nodes.find (x);
|
||||
|
@ -473,8 +473,8 @@ __CNode__ &TMatrix<__CNode__>::_CHollow::add (int x, int y)
|
|||
template<class __CNode__>
|
||||
__CNode__ *TMatrix<__CNode__>::_CHollow::get (int x, int y)
|
||||
{
|
||||
_CRow::iterator itRow;
|
||||
_CLayer::iterator itLayer;
|
||||
typename _CRow::iterator itRow;
|
||||
typename _CLayer::iterator itLayer;
|
||||
|
||||
|
||||
itLayer = nodes.find (x);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
// -*- C++ -*-
|
||||
//
|
||||
// $Id: MDefs.h,v 1.5 2002/11/04 14:43:08 jpc Exp $
|
||||
// $Id: MDefs.h,v 1.6 2004/07/23 08:50:05 jpc Exp $
|
||||
//
|
||||
// /-----------------------------------------------------------------\
|
||||
// | |
|
||||
|
@ -173,7 +173,7 @@
|
|||
// Matrix hollow level class ---------------------------------
|
||||
|
||||
public: struct _CHollow {
|
||||
|
||||
|
||||
typedef map<int, __CNode__*> _CRow;
|
||||
typedef map<int, _CRow> _CLayer;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
// -*- C++ -*-
|
||||
//
|
||||
// $Id: USys.cpp,v 1.2 2002/10/17 21:57:27 jpc Exp $
|
||||
// $Id: USys.cpp,v 1.3 2004/07/23 08:50:05 jpc Exp $
|
||||
//
|
||||
// /----------------------------------------------------------------\
|
||||
// | |
|
||||
|
@ -177,7 +177,7 @@ CHeader CHeader::operator() (string m)
|
|||
// -------------------------------------------------------------------
|
||||
// Function (friend) : "operator<<()".
|
||||
|
||||
inline ostream &operator<< (ostream &o, const CHeader &self)
|
||||
ostream &operator<< (ostream &o, const CHeader &self)
|
||||
{
|
||||
o << self._header;
|
||||
if (self._message.size ())
|
||||
|
|
Loading…
Reference in New Issue