diff --git a/Function.hpp b/Function.hpp index db94d82..3833f0f 100644 --- a/Function.hpp +++ b/Function.hpp @@ -32,7 +32,7 @@ private: virtual ~callable() override {} }; - std::unique_ptr _fun; + std::unique_ptr _fun; /* kérdés, hogy ezt lehet-e szebben, vagy ez így a state-of-the-art megoldás? * lent majd látod, de úgy van megoldva, hogy overloadolva van az operator= * std::nullptr_t-re. próbáltam varázsolni ilyen std::is_null_pointer-rel, @@ -63,4 +63,4 @@ public: operator bool() const { return static_cast(_fun); } -}; \ No newline at end of file +};