summaryrefslogtreecommitdiff
path: root/include/tools/link.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-30 15:04:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-30 16:59:08 +0200
commit85895a76a436007cebc05f0da36e8b1cdb815868 (patch)
tree14ab87c3dd86db5da60a0c0efa6c291603438098 /include/tools/link.hxx
parentb3068470966530fa1d0b0c76d9095c6edb6a0df0 (diff)
Fix Link<T, void>::Call
Change-Id: Id85f33eab2767961f24688fffac84416b1cb22d8
Diffstat (limited to 'include/tools/link.hxx')
-rw-r--r--include/tools/link.hxx2
1 files changed, 1 insertions, 1 deletions
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; }