diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-30 15:04:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-30 16:59:08 +0200 |
commit | 85895a76a436007cebc05f0da36e8b1cdb815868 (patch) | |
tree | 14ab87c3dd86db5da60a0c0efa6c291603438098 /include | |
parent | b3068470966530fa1d0b0c76d9095c6edb6a0df0 (diff) |
Fix Link<T, void>::Call
Change-Id: Id85f33eab2767961f24688fffac84416b1cb22d8
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/link.hxx | 2 |
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; } |