From 2347474f8241e8fde1fb24a0a224d6763d01ab2c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 24 Jul 2024 06:32:41 +0200 Subject: [PATCH] Fix gcc 14 build issues Origin: https://src.fedoraproject.org/rpms/mapnik/blob/rawhide/f/mapnik-gcc14.patch Bug: https://github.com/mapnik/mapnik/issues/4467 Gbp-Pq: Name gcc14.patch --- include/mapnik/util/singleton.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mapnik/util/singleton.hpp b/include/mapnik/util/singleton.hpp index bfc8691..3397ae9 100644 --- a/include/mapnik/util/singleton.hpp +++ b/include/mapnik/util/singleton.hpp @@ -39,7 +39,7 @@ namespace mapnik { template -class CreateUsingNew +class MAPNIK_DECL CreateUsingNew { public: static T* create() { return new T; } @@ -47,7 +47,7 @@ class CreateUsingNew }; template -class CreateStatic +class MAPNIK_DECL CreateStatic { private: using storage_type = typename std::aligned_storage::type;