Skip to content

Commit

Permalink
Fix gcc 14 build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes authored and Bas Couwenberg committed Jul 24, 2024
1 parent c4a49f7 commit 2347474
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/mapnik/util/singleton.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
namespace mapnik {

template<typename T>
class CreateUsingNew
class MAPNIK_DECL CreateUsingNew
{
public:
static T* create() { return new T; }
static void destroy(T* obj) { delete obj; }
};

template<typename T>
class CreateStatic
class MAPNIK_DECL CreateStatic
{
private:
using storage_type = typename std::aligned_storage<sizeof(T), alignof(T)>::type;
Expand Down

0 comments on commit 2347474

Please sign in to comment.