diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-12-07 17:06:42 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-12-07 17:06:42 -0500 |
commit | 50ed3bde4392d5df71d2bc53ddbd8f3a138e40ea (patch) | |
tree | ffcc0c7b44e70610f9da57f932e69be49fc8214f /indra/test/lltut.cpp | |
parent | b4e106ec35920fdc7aa3c98d7de1778ed309c906 (diff) | |
parent | 9fbee8bd46e1fae770deedb960701899a8e18b84 (diff) |
merge
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())); } } |