diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2012-03-21 13:03:04 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2012-03-21 13:03:04 -0400 |
commit | 3238cebcb098cfb36aeeee37a7498d569ab04955 (patch) | |
tree | 4459c297533a53bc93dfb11316552805c3ff4500 /indra/llcommon/tests/listener.h | |
parent | b187aeb8f177bd76e792652e773617beff18b47b (diff) | |
parent | cabb6b6a5f339a69fec25b836f46b8b470eebb90 (diff) |
Automated merge with http://hg.secondlife.com/viewer-release
Diffstat (limited to 'indra/llcommon/tests/listener.h')
-rw-r--r-- | indra/llcommon/tests/listener.h | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/indra/llcommon/tests/listener.h b/indra/llcommon/tests/listener.h index dcdb2412be..9c5c18a150 100644 --- a/indra/llcommon/tests/listener.h +++ b/indra/llcommon/tests/listener.h @@ -30,6 +30,8 @@ #define LL_LISTENER_H #include "llsd.h" +#include "llevents.h" +#include "tests/StringVec.h" #include <iostream> /***************************************************************************** @@ -133,24 +135,7 @@ struct Collect return false; } void clear() { result.clear(); } - typedef std::vector<std::string> StringList; - StringList result; + StringVec result; }; -std::ostream& operator<<(std::ostream& out, const Collect::StringList& strings) -{ - out << '('; - Collect::StringList::const_iterator begin(strings.begin()), end(strings.end()); - if (begin != end) - { - out << '"' << *begin << '"'; - while (++begin != end) - { - out << ", \"" << *begin << '"'; - } - } - out << ')'; - return out; -} - #endif /* ! defined(LL_LISTENER_H) */ |