From ce517cabcabd7b677a79b6c782a220ee8b5151a6 Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Mon, 20 Jun 2016 16:24:45 +0200 Subject: [PATCH] [xbt] Missing override in Task::operator()() --- include/xbt/functional.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xbt/functional.hpp b/include/xbt/functional.hpp index 1f8abfbb20..d9146a3f0a 100644 --- a/include/xbt/functional.hpp +++ b/include/xbt/functional.hpp @@ -178,7 +178,7 @@ private: Impl(F&& code) : code_(std::move(code)) {} Impl(F const& code) : code_(code) {} ~Impl() override {} - R operator()(Args... args) + R operator()(Args... args) override { return code_(std::forward(args)...); } -- 2.20.1