summaryrefslogtreecommitdiff
path: root/include/tools/link.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-09 15:40:00 +0200
committerNoel Grandin <noel@peralex.com>2015-09-10 08:30:11 +0200
commit71d8cfc13a7269230fc39c895c5a24350ab07357 (patch)
treee76e91b842d3334617db3c5423cc3bd1ebe999cc /include/tools/link.hxx
parent99d13c792637a4362c50b30bdc57ebbc6f3b7e4a (diff)
convert Link<> to typed, and introduce LinkParamNone
as a marker type for unused Link#Call(T) param Change-Id: Ife9149052a52b27fefd4f810309a5004a0f1771b
Diffstat (limited to 'include/tools/link.hxx')
-rw-r--r--include/tools/link.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/tools/link.hxx b/include/tools/link.hxx
index fa86e5db3a38..548dbfb611f5 100644
--- a/include/tools/link.hxx
+++ b/include/tools/link.hxx
@@ -146,6 +146,10 @@ private:
void * instance_;
};
+
+// nondefined class used to indicate that the Call() parameter is not in use.
+class LinkParamNone;
+
namespace tools { namespace detail {
template<typename Arg, typename Ret>