diff options
author | Mark Palange (Mani) <palange@lindenlab.com> | 2009-12-03 13:21:32 -0800 |
---|---|---|
committer | Mark Palange (Mani) <palange@lindenlab.com> | 2009-12-03 13:21:32 -0800 |
commit | 4535fd64fbee1ee0dd3bfe54c090cfa9c56a11b6 (patch) | |
tree | cc945956a51b9a9a2e998e8f23709b3b40eb684b /indra | |
parent | a0b4aa14d8c4678f78d78daf5cca4ace569fbf9b (diff) | |
parent | 5729a0a6a3ea3f024f37b15d223a8c317e5032fd (diff) |
Merge
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llcommon/lllistenerwrapper.h | 8 | ||||
-rw-r--r-- | indra/viewer_components/login/tests/lllogin_test.cpp | 5 |
2 files changed, 8 insertions, 5 deletions
diff --git a/indra/llcommon/lllistenerwrapper.h b/indra/llcommon/lllistenerwrapper.h index e7bad1423a..2f747fb182 100644 --- a/indra/llcommon/lllistenerwrapper.h +++ b/indra/llcommon/lllistenerwrapper.h @@ -24,7 +24,7 @@ * derivation from LLEventTrackable, and so forth. */ template <typename LISTENER> -class LL_COMMON_API LLListenerWrapper: public LLListenerWrapperBase +class LLListenerWrapper: public LLListenerWrapperBase { public: /// Wrap an arbitrary listener object @@ -89,7 +89,7 @@ struct ll_template_cast_impl<const LLListenerWrapperBase*, const CLASS<T>*> \ * write llwrap<Wrapper>(boost::bind(...)). */ template <template<typename> class WRAPPER, typename T> -WRAPPER<T> LL_COMMON_API llwrap(const T& listener) +WRAPPER<T> llwrap(const T& listener) { return WRAPPER<T>(listener); } @@ -109,7 +109,7 @@ WRAPPER<T> LL_COMMON_API llwrap(const T& listener) * @endcode */ template <class LISTENER> -class LL_COMMON_API LLCoutListener: public LLListenerWrapper<LISTENER> +class LLCoutListener: public LLListenerWrapper<LISTENER> { typedef LLListenerWrapper<LISTENER> super; @@ -151,7 +151,7 @@ LLLISTENER_WRAPPER_SUBCLASS(LLCoutListener); * @endcode */ template <class LISTENER> -class LL_COMMON_API LLLogListener: public LLListenerWrapper<LISTENER> +class LLLogListener: public LLListenerWrapper<LISTENER> { typedef LLListenerWrapper<LISTENER> super; diff --git a/indra/viewer_components/login/tests/lllogin_test.cpp b/indra/viewer_components/login/tests/lllogin_test.cpp index 56c21016bd..6255f7ed15 100644 --- a/indra/viewer_components/login/tests/lllogin_test.cpp +++ b/indra/viewer_components/login/tests/lllogin_test.cpp @@ -231,6 +231,7 @@ namespace tut ensure_equals("Online state", listener.lastEvent()["state"].asString(), "online"); } + /* template<> template<> void llviewerlogin_object::test<2>() { @@ -416,7 +417,8 @@ namespace tut ensure_equals("Failed to offline", listener.lastEvent()["state"].asString(), "offline"); } - template<> template<> + *FIX:Mani Disabled unit boost::coro is patched + template<> template<> void llviewerlogin_object::test<5>() { DEBUG; @@ -451,4 +453,5 @@ namespace tut ensure_equals("SRV Failure", listener.lastEvent()["change"].asString(), "fail.login"); } +*/ } |