summaryrefslogtreecommitdiff
path: root/indra/llcommon/tests/listener.h
diff options
context:
space:
mode:
authorCallum Prentice <callum@gmail.com>2017-06-08 15:36:42 -0700
committerCallum Prentice <callum@gmail.com>2017-06-08 15:36:42 -0700
commit07185d300d7879fc4d8d268210fa2c440efe02f4 (patch)
tree761fcb3e968339bc04882ea591f56af2fb175187 /indra/llcommon/tests/listener.h
parent8d36da00c885f31739ce6bf6dbc162a6ef3a15a1 (diff)
parentcf5865c6e2b27918b526431ccc4309bfc702534e (diff)
Automated merge with head of lindenlab/viewer64
Diffstat (limited to 'indra/llcommon/tests/listener.h')
-rw-r--r--indra/llcommon/tests/listener.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/llcommon/tests/listener.h b/indra/llcommon/tests/listener.h
index 9c5c18a150..6072060bb6 100644
--- a/indra/llcommon/tests/listener.h
+++ b/indra/llcommon/tests/listener.h
@@ -138,4 +138,15 @@ struct Collect
StringVec result;
};
+struct Concat
+{
+ bool operator()(const LLSD& event)
+ {
+ result += event.asString();
+ return false;
+ }
+ void clear() { result.clear(); }
+ std::string result;
+};
+
#endif /* ! defined(LL_LISTENER_H) */