summaryrefslogtreecommitdiff
path: root/plugins/Quotes
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-11-12 18:39:20 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-11-12 18:39:20 +0000
commit309f15d7cecf440ffc0b79525fb2293ea7304b38 (patch)
treee5584c1f4e95674b89680c22633364c48cd8a578 /plugins/Quotes
parent7606130813cc7d3571a45d61d84d2a50231b56c7 (diff)
fixed compiling with boost 1.55
git-svn-id: http://svn.miranda-ng.org/main/trunk@6877 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes')
-rw-r--r--plugins/Quotes/src/QuotesProviderBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Quotes/src/QuotesProviderBase.cpp b/plugins/Quotes/src/QuotesProviderBase.cpp
index 2f8ed39ed7..e0f17a9b1d 100644
--- a/plugins/Quotes/src/QuotesProviderBase.cpp
+++ b/plugins/Quotes/src/QuotesProviderBase.cpp
@@ -192,13 +192,13 @@ CQuotesProviderBase::~CQuotesProviderBase()
bool CQuotesProviderBase::Init()
{
- bool bSucceded = m_pXMLInfo;
+ bool bSucceded = m_pXMLInfo != NULL;
if(!m_pXMLInfo)
{
CQuotesProviderVisitorDbSettings visitor;
Accept(visitor);
assert(visitor.m_pszXMLIniFileName);
-
+
m_pXMLInfo.reset(new CXMLFileInfo(init_xml_info(visitor.m_pszXMLIniFileName,bSucceded)));
}