From 363fff96f28db1891b0047948b833ec4bc083278 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 14 Sep 2015 20:11:11 +0100 Subject: Fix typeid use in PluginOf --- libadhocutil/plugins.impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libadhocutil/plugins.impl.h b/libadhocutil/plugins.impl.h index 1ece9a3..44b6dab 100644 --- a/libadhocutil/plugins.impl.h +++ b/libadhocutil/plugins.impl.h @@ -22,7 +22,7 @@ namespace AdHoc { const std::type_info & PluginOf::type() const { - return typeid(*impl); + return typeid(T); } /// Get the implementation of this plugin. -- cgit v1.2.3