From 8a85dad11e910b6cb3dbcad991e4cc40b4714073 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 30 Nov 2017 03:26:01 -0800 Subject: [PATCH] fix missing ::type in observer_ptr --- src/util/observer_ptr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2