From 85895a76a436007cebc05f0da36e8b1cdb815868 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 30 Apr 2015 15:04:04 +0200 Subject: Fix Link::Call Change-Id: Id85f33eab2767961f24688fffac84416b1cb22d8 --- include/tools/link.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tools/link.hxx b/include/tools/link.hxx index bb6ca2d1bffc..3cf09bc80421 100644 --- a/include/tools/link.hxx +++ b/include/tools/link.hxx @@ -137,7 +137,7 @@ public: function_(function), instance_(instance) {} Ret Call(Arg data) const - { return function_ == nullptr ? Ret{} : (*function_)(instance_, data); } + { return function_ == nullptr ? Ret() : (*function_)(instance_, data); } bool IsSet() const { return function_ != nullptr; } -- cgit