Upgraded code to switch to C++17. Tested on Debian Buster

This commit is contained in:
emeric
2019-09-10 13:07:06 +02:00
parent 178c400067
commit 2c5917235a
82 changed files with 723 additions and 755 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ Image::load(const std::vector<unsigned char>& rawData)
}
bool
Image::load(boost::filesystem::path p)
Image::load(const std::filesystem::path& p)
{
try
{
+2 -3
View File
@@ -19,10 +19,9 @@
#pragma once
#include <filesystem>
#include <vector>
#include <boost/filesystem/path.hpp>
#include <Magick++.h>
namespace Image
@@ -49,7 +48,7 @@ class Image
// input
bool load(const std::vector<unsigned char>& rawData);
bool load(boost::filesystem::path p);
bool load(const std::filesystem::path& p);
Geometry getSize() const;