mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-31 09:36:41 +00:00
add const specifier to first argument, also made it reference
This commit is contained in:
parent
7161361b52
commit
a84d8e83cd
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include <boost/filesystem.hpp>
|
||||
|
||||
bool loadOgrePlugin(std::string pluginDir, std::string pluginName, Ogre::Root &ogreRoot) {
|
||||
bool loadOgrePlugin(const std::string &pluginDir, std::string pluginName, Ogre::Root &ogreRoot) {
|
||||
pluginName = pluginName + OGRE_PLUGIN_DEBUG_SUFFIX;
|
||||
#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
|
||||
std::ostringstream verStream;
|
||||
|
|
|
@ -7,6 +7,6 @@ namespace Ogre {
|
|||
class Root;
|
||||
}
|
||||
|
||||
extern bool loadOgrePlugin(std::string pluginDir, std::string pluginName, Ogre::Root &ogreRoot);
|
||||
extern bool loadOgrePlugin(const std::string &pluginDir, std::string pluginName, Ogre::Root &ogreRoot);
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue