diff --git a/Function.hpp b/Function.hpp index 3833f0f..5fc0103 100644 --- a/Function.hpp +++ b/Function.hpp @@ -57,7 +57,7 @@ public: Ret operator()(Args... args) const { if (_is_null) - throw std::bad_function_call("Error: call to nullptr Function!"); + throw std::bad_function_call(); return _fun->call(std::forward(args)...); }