Hopefull fix compilation of path generation with both IM and GM

sql-rework
Tomasz Golinski 2020-02-02 12:55:10 +01:00
rodzic a3e43a3da5
commit b7d199e658
1 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -50,9 +50,14 @@ void Heat::generate_path(std::string filename, const Date_Caches& sorted) {
Magick::Image contour(mp->map_file);
contour.strokeColor("black");
contour.strokeWidth(2);
contour.strokeWidth(2);
#ifdef graphicsmagick
std::list<Magick::Drawable> draw;
#else
std::vector<Magick::Drawable> draw;
#endif
const Cache* prev = sorted.begin()->second;
for (auto el = sorted.begin()++; el != sorted.end(); el++) {