diff --git a/GeoLib/IO/Legacy/OGSIOVer4.cpp b/GeoLib/IO/Legacy/OGSIOVer4.cpp
index c845d6b11203e54cdbfeb8e43308c8f8e34cc27f..715efec64244bf3eb4fed11625bbaee01f001b64 100644
--- a/GeoLib/IO/Legacy/OGSIOVer4.cpp
+++ b/GeoLib/IO/Legacy/OGSIOVer4.cpp
@@ -452,7 +452,8 @@ bool readGLIFileV4(const std::string& fname,
 
     // read names of points into vector of strings
     auto pnt_id_names_map =
-        std::unique_ptr<std::map<std::string, std::size_t>>{};
+        std::unique_ptr<std::map<std::string, std::size_t>>
+            { new std::map<std::string, std::size_t> };
 
     bool zero_based_idx(true);
     auto pnt_vec = std::make_unique<std::vector<GeoLib::Point*>>();