diff Plugins/Engine/SharedLibrary.cpp @ 1631:0d074f5f6069

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Sep 2015 13:33:50 +0200
parents ffd23c0104af
children eb8fbcf008b5
line wrap: on
line diff
--- a/Plugins/Engine/SharedLibrary.cpp	Mon Sep 21 13:26:45 2015 +0200
+++ b/Plugins/Engine/SharedLibrary.cpp	Mon Sep 21 13:33:50 2015 +0200
@@ -48,10 +48,10 @@
 
 namespace Orthanc
 {
-  SharedLibrary::SharedLibrary(const std::string& path) : handle_(NULL)
+  SharedLibrary::SharedLibrary(const std::string& path) : 
+    path_(path), 
+    handle_(NULL)
   {
-    path_ = boost::filesystem::canonical(path).string();
-
 #if defined(_WIN32)
     handle_ = ::LoadLibraryA(path_.c_str());
     if (handle_ == NULL)