aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2017-01-15 12:07:11 +0100
committerariel- <ariel-@users.noreply.github.com>2017-01-25 23:38:16 -0300
commit580f46693d4477cb4191137e6c1571d571f23b31 (patch)
treec2b4218ce21e2f0bed08c57d803ea32e31204fff /src
parent4c27203c8f36dd2a5df0a4ae69fbdc4c9140b29d (diff)
Build fix
(cherry picked from commit 0314abc26a8d17cb630c658634b5ad292ece8a88)
Diffstat (limited to 'src')
-rw-r--r--src/server/database/Database/DatabaseWorkerPool.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/server/database/Database/DatabaseWorkerPool.h b/src/server/database/Database/DatabaseWorkerPool.h
index b195d2d6a28..6e5f25ff297 100644
--- a/src/server/database/Database/DatabaseWorkerPool.h
+++ b/src/server/database/Database/DatabaseWorkerPool.h
@@ -195,14 +195,6 @@ class DatabaseWorkerPool
//! The return value is then processed in ProcessQueryCallback methods.
QueryCallback AsyncQuery(const char* sql);
- //! Enqueues a query in string format -with variable args- that will set the value of the QueryResultFuture return object as soon as the query is executed.
- //! The return value is then processed in ProcessQueryCallback methods.
- template<typename Format, typename... Args>
- QueryCallback AsyncPQuery(Format&& sql, Args&&... args)
- {
- return AsyncQuery(Trinity::StringFormat(std::forward<Format>(sql), std::forward<Args>(args)...).c_str());
- }
-
//! Enqueues a query in prepared format that will set the value of the PreparedQueryResultFuture return object as soon as the query is executed.
//! The return value is then processed in ProcessQueryCallback methods.
//! Statement must be prepared with CONNECTION_ASYNC flag.