From d1cf4bc530613a9d3ee10768dd068a0391f6e105 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sat, 9 Feb 2019 19:23:00 +0900 Subject: csapi: GetCapabilitiesJob (MSC1753) --- lib/util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/util.h') diff --git a/lib/util.h b/lib/util.h index ade6e8c2..420b0984 100644 --- a/lib/util.h +++ b/lib/util.h @@ -103,6 +103,9 @@ namespace QMatrixClient } Omittable& operator=(value_type&& val) { + // For some reason GCC complains about -Wmaybe-uninitialized + // in the context of using Omittable with converters.h; + // though the logic looks very much benign (GCC bug???) _value = std::move(val); _omitted = false; return *this; -- cgit v1.2.3