Browse Source

Restore GPL prefix

lintest
Michael Uleysky 5 months ago
parent
commit
f0fefd5f90
  1. 3
      src/copcat.cpp

3
src/copcat.cpp

@ -8,8 +8,9 @@ const MString CopernicusCatalog::caturl = "https://stac.marine.copernicus.eu/met
CopernicusCatalog::CopernicusCatalog() CopernicusCatalog::CopernicusCatalog()
{ {
// Cache // Cache
michlib::GPL.UsePrefix("COPERNICUS"); auto oldprefix = michlib::GPL.UsePrefix("COPERNICUS");
cache.reset(CreateCache(michlib::GPL.ParameterSValue("Cache", ""))); cache.reset(CreateCache(michlib::GPL.ParameterSValue("Cache", "")));
michlib::GPL.UsePrefix(oldprefix);
if(!cache) if(!cache)
{ {
michlib::errmessage("Can't init cache"); michlib::errmessage("Can't init cache");

Loading…
Cancel
Save