summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-08-21 00:12:13 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-08-21 00:12:13 +0100
commitf6686d1bf35611b779189f80b460790708094895 (patch)
tree746e8b396c827aa9f32301daba39909287b78180
parentUpdate to new PluginMock interface (diff)
downloadlibdbpp-postgresql-f6686d1bf35611b779189f80b460790708094895.tar.bz2
libdbpp-postgresql-f6686d1bf35611b779189f80b460790708094895.tar.xz
libdbpp-postgresql-f6686d1bf35611b779189f80b460790708094895.zip
Replace deprecated typedef std::hash<...>::result_type
-rw-r--r--libpqpp/pq-connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/pq-connection.h b/libpqpp/pq-connection.h
index 597c543..4544b79 100644
--- a/libpqpp/pq-connection.h
+++ b/libpqpp/pq-connection.h
@@ -15,7 +15,7 @@ namespace PQ {
class DLL_PUBLIC Connection : public DB::Connection {
public:
- typedef std::hash<std::string>::result_type StatementHash;
+ typedef std::size_t StatementHash;
typedef std::map<StatementHash, std::string> PreparedStatements;
Connection(const std::string & info);