Fixed recursive call
This commit is contained in:
parent
f213e473f3
commit
84d9994324
@ -37,13 +37,13 @@ class ImageReaderWriter : public osgDB::ReaderWriter
|
|||||||
std::string insertReference(const std::string& fileName, unsigned int res, float width, float height, bool backPage)
|
std::string insertReference(const std::string& fileName, unsigned int res, float width, float height, bool backPage)
|
||||||
{
|
{
|
||||||
SERIALIZER();
|
SERIALIZER();
|
||||||
return insertReference(fileName, res, width, height, backPage);
|
return const_cast<ImageReaderWriter*>(this)->local_insertReference(fileName, res, width, height, backPage);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ReadResult readNode(const std::string& fileName, const Options* options) const
|
virtual ReadResult readNode(const std::string& fileName, const Options* options) const
|
||||||
{
|
{
|
||||||
SERIALIZER();
|
SERIALIZER();
|
||||||
return readNode(fileName, options);
|
return const_cast<ImageReaderWriter*>(this)->local_readNode(fileName, options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user