Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources

This commit is contained in:
ariel- committed 2018-03-28 04:41:59 -03:00
1 parent 7fff6c424f
commit 5ff847159c
1243 files changed
+29780 -36517

No files matched your search

+10 -5
View File
@@ -18,14 +18,19 @@
#ifndef _QUERY_CALLBACK_H
#define _QUERY_CALLBACK_H
#include "QueryResult.h"
#include "Define.h"
#include "DatabaseEnvFwd.h"
#include <functional>
#include <future>
#include <list>
#include <queue>
#include <utility>
class TC_DATABASE_API QueryCallback
{
public:
explicit QueryCallback(std::future<QueryResult>&& result);
explicit QueryCallback(std::future<PreparedQueryResult>&& result);
explicit QueryCallback(QueryResultFuture&& result);
explicit QueryCallback(PreparedQueryResultFuture&& result);
QueryCallback(QueryCallback&& right);
QueryCallback& operator=(QueryCallback&& right);
~QueryCallback();
@@ -58,8 +63,8 @@ private:
union
{
std::future<QueryResult> _string;
std::future<PreparedQueryResult> _prepared;
QueryResultFuture _string;
PreparedQueryResultFuture _prepared;
};
bool _isPrepared;