mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
Fixed compilation for Clang.
This commit is contained in:
parent
d696f72533
commit
5e94c772b3
6 changed files with 19 additions and 40 deletions
|
@ -225,20 +225,13 @@ private:
|
|||
void handleLowLevelTransactionAckItem(RsGRouterTransactionAcknItem*) ;
|
||||
|
||||
static Sha1CheckSum computeDataItemHash(RsGRouterGenericDataItem *data_item);
|
||||
#ifdef __APPLE__
|
||||
public:
|
||||
#endif
|
||||
class nullstream: public std::ostream {};
|
||||
|
||||
std::ostream& grouter_debug() const
|
||||
{
|
||||
static nullstream null ;
|
||||
|
||||
static std::ostream null(0);
|
||||
return _debug_enabled?(std::cerr):null;
|
||||
}
|
||||
#ifdef __APPLE__
|
||||
private:
|
||||
#endif
|
||||
|
||||
void routePendingObjects() ;
|
||||
void handleTunnels() ;
|
||||
void autoWash() ;
|
||||
|
@ -364,5 +357,3 @@ private:
|
|||
|
||||
uint64_t _random_salt ;
|
||||
};
|
||||
|
||||
template<typename T> p3GRouter::nullstream& operator<<(p3GRouter::nullstream& ns,const T&) { return ns ; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue