From f83119ce7ec3d11a903901b8eff762d2b0a9f635 Mon Sep 17 00:00:00 2001
From: Petr Mrázek <peterix@gmail.com>
Date: Sun, 6 Oct 2013 01:13:40 +0200
Subject: Added file logger

---
 logic/OneSixRule.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'logic/OneSixRule.cpp')

diff --git a/logic/OneSixRule.cpp b/logic/OneSixRule.cpp
index 545cd641..cb64c9ba 100644
--- a/logic/OneSixRule.cpp
+++ b/logic/OneSixRule.cpp
@@ -2,9 +2,9 @@
 #include <QJsonObject>
 #include <QJsonArray>
 
-QList<QSharedPointer<Rule>> rulesFromJsonV4(QJsonObject &objectWithRules)
+QList<std::shared_ptr<Rule>> rulesFromJsonV4(QJsonObject &objectWithRules)
 {
-	QList<QSharedPointer<Rule>> rules;
+	QList<std::shared_ptr<Rule>> rules;
 	auto rulesVal = objectWithRules.value("rules");
 	if (!rulesVal.isArray())
 		return rules;
@@ -12,7 +12,7 @@ QList<QSharedPointer<Rule>> rulesFromJsonV4(QJsonObject &objectWithRules)
 	QJsonArray ruleList = rulesVal.toArray();
 	for (auto ruleVal : ruleList)
 	{
-		QSharedPointer<Rule> rule;
+		std::shared_ptr<Rule> rule;
 		if (!ruleVal.isObject())
 			continue;
 		auto ruleObj = ruleVal.toObject();
-- 
cgit