diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-08-21 00:12:13 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-08-21 00:12:13 +0100 |
commit | f6686d1bf35611b779189f80b460790708094895 (patch) | |
tree | 746e8b396c827aa9f32301daba39909287b78180 /libpqpp | |
parent | Update to new PluginMock interface (diff) | |
download | libdbpp-postgresql-f6686d1bf35611b779189f80b460790708094895.tar.bz2 libdbpp-postgresql-f6686d1bf35611b779189f80b460790708094895.tar.xz libdbpp-postgresql-f6686d1bf35611b779189f80b460790708094895.zip |
Replace deprecated typedef std::hash<...>::result_type
Diffstat (limited to 'libpqpp')
-rw-r--r-- | libpqpp/pq-connection.h | 2 |
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); |