diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2016-07-14 10:35:56 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2016-07-14 10:35:56 -0400 |
commit | 636ce117bb1b3bda30ff725d41b50ed2c48e4bf0 (patch) | |
tree | 5dbf04a50b06dc16b705c6f8d99680ec517a5e89 /indra | |
parent | d7c904632b9dac112228092952f993569477366c (diff) |
MAINT-5011: Per NickyD, put PngError in anonymous namespace.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llimage/llpngwrapper.cpp | 2 |
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 |