summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-07-14 10:35:56 -0400
committerNat Goodspeed <nat@lindenlab.com>2016-07-14 10:35:56 -0400
commit636ce117bb1b3bda30ff725d41b50ed2c48e4bf0 (patch)
tree5dbf04a50b06dc16b705c6f8d99680ec517a5e89
parentd7c904632b9dac112228092952f993569477366c (diff)
MAINT-5011: Per NickyD, put PngError in anonymous namespace.
-rw-r--r--indra/llimage/llpngwrapper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llimage/llpngwrapper.cpp b/indra/llimage/llpngwrapper.cpp
index 4292f29acc..531859cbc9 100644
--- a/indra/llimage/llpngwrapper.cpp
+++ b/indra/llimage/llpngwrapper.cpp
@@ -33,10 +33,12 @@
#include <stdexcept>
+namespace {
struct PngError: public std::runtime_error
{
PngError(png_const_charp msg): std::runtime_error(msg) {}
};
+} // anonymous namespace
// ---------------------------------------------------------------------------
// LLPngWrapper