diff --git a/src/img/img/imgObject.cc b/src/img/img/imgObject.cc index e2912b2d1..4719fb7f7 100644 --- a/src/img/img/imgObject.cc +++ b/src/img/img/imgObject.cc @@ -1702,7 +1702,7 @@ Object::read_file () } #else - throw tl::Exception (tl::to_string ("No PNG support compiled in - cannot load PNG files")); + throw tl::Exception ("No PNG support compiled in - cannot load PNG files"); #endif }