summaryrefslogtreecommitdiffstats
path: root/logic/VersionFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/VersionFactory.cpp')
-rw-r--r--logic/VersionFactory.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/logic/VersionFactory.cpp b/logic/VersionFactory.cpp
index 71c4d747..4fa5ad3f 100644
--- a/logic/VersionFactory.cpp
+++ b/logic/VersionFactory.cpp
@@ -1,5 +1,6 @@
#include "VersionFactory.h"
#include "OneSixVersion.h"
+#include "OneSixRule.h"
// Library rules (if any)
QList<QSharedPointer<Rule> > FullVersionFactory::parse4rules(QJsonObject & baseObj)
@@ -103,7 +104,7 @@ QSharedPointer<OneSixVersion> FullVersionFactory::parse4(QJsonObject root, QShar
auto nameVal = libObj.value("name");
if(!nameVal.isString())
continue;
- QSharedPointer<Library> library(new Library(nameVal.toString()));
+ QSharedPointer<OneSixLibrary> library(new OneSixLibrary(nameVal.toString()));
auto urlVal = libObj.value("url");
if(urlVal.isString())