Skip to content
Snippets Groups Projects
Commit 636ce117 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

MAINT-5011: Per NickyD, put PngError in anonymous namespace.

parent d7c90463
No related branches found
No related tags found
No related merge requests found
...@@ -33,10 +33,12 @@ ...@@ -33,10 +33,12 @@
#include <stdexcept> #include <stdexcept>
namespace {
struct PngError: public std::runtime_error struct PngError: public std::runtime_error
{ {
PngError(png_const_charp msg): std::runtime_error(msg) {} PngError(png_const_charp msg): std::runtime_error(msg) {}
}; };
} // anonymous namespace
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// LLPngWrapper // LLPngWrapper
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment