Commits

David Rogers committed 0a550b3

[OS X] More std::string->String replacement

  • Participants
  • Parent commits 9f13f5b
  • Branches v1-9

Comments (0)

Files changed (2)

File RenderSystems/GL/src/OSX/OgreOSXGLSupport.mm

     void *symbol;
     symbol = NULL;
     
-    std::string fullPath = macPluginPath() + "RenderSystem_GL.dylib";
+    String fullPath = macPluginPath() + "RenderSystem_GL.dylib";
     void *handle = dlopen(fullPath.c_str(), RTLD_LAZY | RTLD_GLOBAL);
     if(handle) {
         symbol = dlsym (handle, name);

File RenderSystems/GL3Plus/src/OSX/OgreOSXGL3PlusSupport.mm

     void *symbol;
     symbol = NULL;
     
-    std::string fullPath = macPluginPath() + "RenderSystem_GL3Plus.dylib";
+    String fullPath = macPluginPath() + "RenderSystem_GL3Plus.dylib";
     void *handle = dlopen(fullPath.c_str(), RTLD_LAZY | RTLD_GLOBAL);
     if(handle) {
         symbol = dlsym (handle, name);