diff OrthancServer/OrthancInitialization.cpp @ 3140:977158ab0623

making db-changes the new mainline
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Jan 2019 18:32:42 +0100
parents 2e1808b6146a
children 94f4a18a79cc
line wrap: on
line diff
--- a/OrthancServer/OrthancInitialization.cpp	Thu Jan 17 18:29:16 2019 +0100
+++ b/OrthancServer/OrthancInitialization.cpp	Thu Jan 17 18:32:42 2019 +0100
@@ -45,7 +45,7 @@
 #include "../Core/Logging.h"
 #include "../Core/OrthancException.h"
 
-#include "DatabaseWrapper.h"
+#include "Database/SQLiteDatabaseWrapper.h"
 #include "OrthancConfiguration.h"
 
 #include <dcmtk/dcmnet/dul.h>   // For dcmDisableGethostbyaddr()
@@ -308,7 +308,7 @@
     {
     }
 
-    return new DatabaseWrapper(indexDirectory.string() + "/index");
+    return new SQLiteDatabaseWrapper(indexDirectory.string() + "/index");
   }