diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-14 20:11:11 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-14 20:11:11 +0100 |
commit | 363fff96f28db1891b0047948b833ec4bc083278 (patch) | |
tree | 1c0c013677c94ce118227c0fb3d96db383ec94fb | |
parent | Tidy up process pipes error handling with new scope exit functionality and mo... (diff) | |
download | libadhocutil-363fff96f28db1891b0047948b833ec4bc083278.tar.bz2 libadhocutil-363fff96f28db1891b0047948b833ec4bc083278.tar.xz libadhocutil-363fff96f28db1891b0047948b833ec4bc083278.zip |
Fix typeid use in PluginOf
-rw-r--r-- | libadhocutil/plugins.impl.h | 2 |
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. |