diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2011-12-01 16:53:28 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2011-12-01 16:53:28 -0500 |
commit | 8cbc54d519f8495deee1b1a0da1e08f647ae0cc1 (patch) | |
tree | f9b5826e7bcd8685d213287b8abdc352417ad24f /indra/test/lltut.cpp | |
parent | f5a94e0f8196c5c068995090cd57bb27e97aaac9 (diff) | |
parent | 95fb0249e9f43d907608cc5840d1f8c0e49981d0 (diff) |
Automated merge with http://hg.secondlife.com/viewer-development
Diffstat (limited to 'indra/test/lltut.cpp')
-rw-r--r-- | indra/test/lltut.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/test/lltut.cpp b/indra/test/lltut.cpp index da7031b52a..c43a8f0c7d 100644 --- a/indra/test/lltut.cpp +++ b/indra/test/lltut.cpp @@ -34,6 +34,7 @@ #include "llformat.h" #include "llsd.h" #include "lluri.h" +#include "stringize.h" namespace tut { @@ -144,6 +145,10 @@ namespace tut } return; } + default: + // should never get here, but compiler produces warning if we + // don't cover this case, and at Linden warnings are fatal. + throw failure(STRINGIZE("invalid type field " << actual.type())); } } |