From 23c8c30fdc53676b858b05f828ef14ecf492d1df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Traizet?= <cedric.traizet@c-s.fr> Date: Tue, 19 May 2020 10:45:14 +0200 Subject: [PATCH] ENH: const correctness for MetadataSupplierInterface::GetResourceFile --- Modules/Core/Metadata/include/otbMetadataSupplierInterface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Core/Metadata/include/otbMetadataSupplierInterface.h b/Modules/Core/Metadata/include/otbMetadataSupplierInterface.h index 61dc061b4c..b3b695da47 100644 --- a/Modules/Core/Metadata/include/otbMetadataSupplierInterface.h +++ b/Modules/Core/Metadata/include/otbMetadataSupplierInterface.h @@ -67,7 +67,7 @@ class OTBMetadata_EXPORT MetadataSupplierInterface { public: - virtual std::string GetResourceFile() = 0; + virtual std::string GetResourceFile() const = 0; // Maybe not needed // virtual std::vector<std::string> GetResourceFiles() = 0; -- GitLab