Fixed warnings
This commit is contained in:
@@ -40,7 +40,8 @@ class observer_ptr : public Observer
|
||||
|
||||
observer_ptr(): _ptr(0L) {}
|
||||
observer_ptr(T* t): _ptr(t) { if (_ptr) _ptr->addObserver(this); }
|
||||
observer_ptr(const observer_ptr& rp)
|
||||
observer_ptr(const observer_ptr& rp):
|
||||
Observer()
|
||||
{
|
||||
OpenThreads::ScopedLock<OpenThreads::Mutex> lock(*getObserverMutex());
|
||||
_ptr = rp._ptr;
|
||||
|
||||
@@ -84,7 +84,7 @@ public:
|
||||
virtual void readCharArray( char* s, unsigned int size ) = 0;
|
||||
virtual void readWrappedString( std::string& str ) = 0;
|
||||
|
||||
virtual bool matchString( const std::string& str ) { return false; }
|
||||
virtual bool matchString( const std::string& /*str*/ ) { return false; }
|
||||
virtual void advanceToCurrentEndBracket() {}
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user