Suppress multiline comments (shut off gcc warnings).
This commit is contained in:
parent
3265c3ddcb
commit
8893779edf
|
@ -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(); } \
|
||||||
|
|
Loading…
Reference in New Issue