summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-14 20:11:11 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-14 20:11:11 +0100
commit363fff96f28db1891b0047948b833ec4bc083278 (patch)
tree1c0c013677c94ce118227c0fb3d96db383ec94fb
parentTidy up process pipes error handling with new scope exit functionality and mo... (diff)
downloadlibadhocutil-363fff96f28db1891b0047948b833ec4bc083278.tar.bz2
libadhocutil-363fff96f28db1891b0047948b833ec4bc083278.tar.xz
libadhocutil-363fff96f28db1891b0047948b833ec4bc083278.zip
Fix typeid use in PluginOf
-rw-r--r--libadhocutil/plugins.impl.h2
1 files changed, 1 insertions, 1 deletions
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<T>::type() const
{
- return typeid(*impl);
+ return typeid(T);
}
/// Get the implementation of this plugin.