Suppress multiline comments (shut off gcc warnings).

This commit is contained in:
Jean-Paul Chaput 2016-07-23 11:50:39 +02:00
parent 3265c3ddcb
commit 8893779edf
1 changed files with 0 additions and 8 deletions

View File

@ -663,10 +663,6 @@ inline Hurricane::Record* getRecord ( const std::multiset<Element,Compare>* s )
} \ } \
//inline tstream& operator<< ( tstream& o, Data* d ) \
//{ if (o.enabled()) static_cast<std::ostream&>(o) << d; return o; }
# define GETRECORD_POINTER_SUPPORT(Data) \ # define GETRECORD_POINTER_SUPPORT(Data) \
template<> inline Hurricane::Record* getRecord<Data*>( Data* data ) \ template<> inline Hurricane::Record* getRecord<Data*>( Data* data ) \
{ if (!data) return NULL; return data->_getRecord(); } \ { if (!data) return NULL; return data->_getRecord(); } \
@ -691,10 +687,6 @@ inline Hurricane::Record* getRecord ( const std::multiset<Element,Compare>* s )
{ return o << getString<const Data&>(d); } \ { return o << getString<const Data&>(d); } \
\ \
// inline tstream& operator<< ( tstream& o, Data& d ) \
//{ if (o.enabled()) static_cast<std::ostream&>(o) << d; return o; }
# define GETRECORD_REFERENCE_SUPPORT(Data) \ # define GETRECORD_REFERENCE_SUPPORT(Data) \
template<> inline Hurricane::Record* getRecord<Data&>( Data& data ) \ template<> inline Hurricane::Record* getRecord<Data&>( Data& data ) \
{ return data._getRecord(); } \ { return data._getRecord(); } \