Fixed compilation on gcc 2.95.
svn-id: r31447
This commit is contained in:
parent
1aac71ae34
commit
48c9097672
1 changed files with 3 additions and 0 deletions
|
@ -175,7 +175,9 @@ public:
|
|||
* This should just be used for debugging purposes.
|
||||
*/
|
||||
RefValue refCount() const { return _refCount ? *_refCount : 0; }
|
||||
#if !((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95))
|
||||
private:
|
||||
#endif
|
||||
void decRef() {
|
||||
if (_refCount) {
|
||||
--(*_refCount);
|
||||
|
@ -210,3 +212,4 @@ bool operator !=(const Common::SharedPtr<T1> &l, const Common::SharedPtr<T2> &r)
|
|||
#endif
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue