From 64b72cfd0cad5d17f566b52918fc9f2c83899b3e Mon Sep 17 00:00:00 2001 From: John Bytheway Date: Sat, 25 Apr 2020 07:19:00 -0400 Subject: [PATCH] Tweak in hopes of fixing clang build This line of code fell afoul of the oft-troublesome clang error "default initialization of an object of const type without a user-provided default constructor". Attempt to fix that. --- src/translations.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/translations.h b/src/translations.h index 114d7a55bb106..863b40bb5ca25 100644 --- a/src/translations.h +++ b/src/translations.h @@ -271,6 +271,6 @@ struct localized_comparator { bool operator()( const std::string &, const std::string & ) const; }; -constexpr localized_comparator localized_compare; +constexpr localized_comparator localized_compare{}; #endif // CATA_SRC_TRANSLATIONS_H