Fixed warning
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#include <osg/Geode>
|
||||
#include <osgDB/FileUtils>
|
||||
|
||||
bool Utility::readFile(char* fName, std::string& s)
|
||||
bool Utility::readFile(const char* fName, std::string& s)
|
||||
{
|
||||
std::string foundFile = osgDB::findDataFile(fName);
|
||||
if (foundFile.empty()) return false;
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Utility
|
||||
/*!
|
||||
Reads a file and returns a string
|
||||
*/
|
||||
bool readFile(char* fName, std::string& s);
|
||||
bool readFile(const char* fName, std::string& s);
|
||||
|
||||
/*!
|
||||
Converts a number to a string
|
||||
|
||||
Reference in New Issue
Block a user