Fixes for Windows build.
This commit is contained in:
@@ -564,7 +564,7 @@ Package=<4>
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "osgbillboard"=".\Demos\osgbilloard\osgbillboard.dsp" - Package Owner=<4>
|
||||
Project: "osgbillboard"=".\Demos\osgbillboard\osgbillboard.dsp" - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
|
||||
@@ -86,7 +86,7 @@ class SG_EXPORT Image : public Object
|
||||
|
||||
virtual ~Image();
|
||||
|
||||
Image& operator = (const Image& image) {}
|
||||
Image& operator = (const Image&) { return *this; }
|
||||
|
||||
std::string _fileName;
|
||||
int _s, _t, _r;
|
||||
|
||||
@@ -69,9 +69,14 @@ class ref_ptr
|
||||
return (_ptr<rp._ptr);
|
||||
}
|
||||
|
||||
inline const bool operator < (const T* ptr) const
|
||||
inline const bool operator > (const ref_ptr& rp) const
|
||||
{
|
||||
return (_ptr<ptr);
|
||||
return (_ptr>rp._ptr);
|
||||
}
|
||||
|
||||
inline const bool operator > (const T* ptr) const
|
||||
{
|
||||
return (_ptr>ptr);
|
||||
}
|
||||
|
||||
inline T& operator*() { return *_ptr; }
|
||||
|
||||
Reference in New Issue
Block a user