diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2009-12-03 10:01:23 -0800 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2009-12-03 10:01:23 -0800 |
commit | d805fab31e75c268ee6d9eb888c596a63caffc18 (patch) | |
tree | 40a257baa9306311640db50d66d9e7133fca1a23 /indra/llcommon | |
parent | 5fd2938da8d6709a6596833088fd83c60d591507 (diff) |
DEV-43463: swap visit_and_connect() overloads for Linux compiler
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llevents.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/llcommon/llevents.h b/indra/llcommon/llevents.h index 5646407f6a..d6d1ea5178 100644 --- a/indra/llcommon/llevents.h +++ b/indra/llcommon/llevents.h @@ -257,6 +257,11 @@ namespace LLEventDetail /// signature. typedef boost::function<LLBoundListener(const LLEventListener&)> ConnectFunc; + /// overload of visit_and_connect() when we have a string identifier available + template <typename LISTENER> + LLBoundListener visit_and_connect(const std::string& name, + const LISTENER& listener, + const ConnectFunc& connect_func); /** * Utility template function to use Visitor appropriately * @@ -271,11 +276,6 @@ namespace LLEventDetail { return visit_and_connect("", listener, connect_func); } - /// overload of visit_and_connect() when we have a string identifier available - template <typename LISTENER> - LLBoundListener visit_and_connect(const std::string& name, - const LISTENER& listener, - const ConnectFunc& connect_func); } // namespace LLEventDetail /***************************************************************************** |