From 53c878c9c547fd537bdad07db51d4ce0db1c5d1a Mon Sep 17 00:00:00 2001 From: Denis Blank Date: Sun, 10 Dec 2017 03:51:08 +0100 Subject: [PATCH] build fix --- include/continuable/detail/expected.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/continuable/detail/expected.hpp b/include/continuable/detail/expected.hpp index 0e61495..1285e2d 100644 --- a/include/continuable/detail/expected.hpp +++ b/include/continuable/detail/expected.hpp @@ -100,7 +100,7 @@ struct expected_copy_base : expected_move_base { { Base& me = *static_cast(this); Base const& other = *static_cast(&right); - assert(!other->is_empty()); + assert(!other.is_empty()); #ifndef _NDEBUG me.set(slot_t::empty);