From fb9bd103942fbbd629e62a25bf2dab50f146f0fa Mon Sep 17 00:00:00 2001 From: John Bytheway Date: Tue, 2 Jul 2019 22:24:47 +0100 Subject: [PATCH] Value-init hash object to suppress clang warning --- src/coordinates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coordinates.h b/src/coordinates.h index 12200fe4b5a54..2ba974912a164 100644 --- a/src/coordinates.h +++ b/src/coordinates.h @@ -239,7 +239,7 @@ namespace std template struct hash> { std::size_t operator()( const coords::coord_point &p ) const { - const hash h; + const hash h{}; return h( p.raw() ); } };