From 81b4313d1071820e724d116af06591cf906017d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Sun, 27 Nov 2016 14:50:49 +0100 Subject: [PATCH] added missing return statement --- Function.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Function.hpp b/Function.hpp index d8b52f2..0c9fbee 100644 --- a/Function.hpp +++ b/Function.hpp @@ -53,7 +53,7 @@ public: } Function& operator=(std::nullptr_t) // exploiting that decltype(nullptr) is std::nullptr_t - { _is_null = true; } + { _is_null = true; return *this; } Ret operator()(Args... args) const {