From f6686d1bf35611b779189f80b460790708094895 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 21 Aug 2018 00:12:13 +0100 Subject: Replace deprecated typedef std::hash<...>::result_type --- libpqpp/pq-connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::result_type StatementHash; + typedef std::size_t StatementHash; typedef std::map PreparedStatements; Connection(const std::string & info); -- cgit v1.2.3