Refactored namespaces

This commit is contained in:
emeric
2024-03-12 08:32:08 +01:00
parent 487960b413
commit 4b7c4295ec
501 changed files with 12605 additions and 12631 deletions
+2 -2
View File
@@ -25,7 +25,7 @@
#include "image/Exception.hpp"
#include "RawImage.hpp"
namespace Image::STB
namespace lms::image::STB
{
JPEGImage::JPEGImage(const RawImage& rawImage, unsigned quality)
{
@@ -40,7 +40,7 @@ namespace Image::STB
if (stbi_write_jpg_to_func(writeCb, &_data, rawImage.getWidth(), rawImage.getHeight(), 3, rawImage.getData(), quality) == 0)
{
_data.clear();
throw ImageException {"Failed to export in jpeg format!"};
throw Exception {"Failed to export in jpeg format!"};
}
}