summaryrefslogtreecommitdiff
path: root/libadhocutil/plugins.h
diff options
context:
space:
mode:
Diffstat (limited to 'libadhocutil/plugins.h')
-rw-r--r--libadhocutil/plugins.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libadhocutil/plugins.h b/libadhocutil/plugins.h
index d9ed4a3..4ab4385 100644
--- a/libadhocutil/plugins.h
+++ b/libadhocutil/plugins.h
@@ -57,7 +57,7 @@ namespace AdHoc {
class DuplicatePluginException : public std::runtime_error {
public:
/// Constructor taking the original and offending plugin.
- DuplicatePluginException(PluginPtr p1, PluginPtr p2);
+ DuplicatePluginException(const PluginPtr & p1, const PluginPtr & p2);
};
/// Thrown when a resolver function is added a second time.