From: Jacob Lifshay Date: Thu, 30 Nov 2017 11:26:01 +0000 (-0800) Subject: fix missing ::type in observer_ptr X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a85dad11e910b6cb3dbcad991e4cc40b4714073;p=kazan.git fix missing ::type in observer_ptr --- diff --git a/src/util/observer_ptr.h b/src/util/observer_ptr.h index 39f33c9..85c1fe8 100644 --- a/src/util/observer_ptr.h +++ b/src/util/observer_ptr.h @@ -80,7 +80,7 @@ public: { return value != nullptr; } - constexpr typename std::add_lvalue_reference operator*() const noexcept + constexpr typename std::add_lvalue_reference::type operator*() const noexcept { return *value; }