aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111/datum.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-10-06 22:15:31 +0200
committerEven Rouault <even.rouault@spatialys.com>2020-10-08 17:31:56 +0200
commitb5369cc79eccc625419d37bb97a5361731fd8f0f (patch)
tree73bea46ce8b3daf40e65b538f4bc15149ac99756 /src/iso19111/datum.cpp
parentfece8a6c6e2e5eebeac6f9b4fc47ca830f2e3a3a (diff)
downloadPROJ-b5369cc79eccc625419d37bb97a5361731fd8f0f.tar.gz
PROJ-b5369cc79eccc625419d37bb97a5361731fd8f0f.zip
Add a AuthorityFactory::createDatumEnsemble() method, and make it inherit from ObjectUsage
as mandated by ISO 19111:2019
Diffstat (limited to 'src/iso19111/datum.cpp')
-rw-r--r--src/iso19111/datum.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/iso19111/datum.cpp b/src/iso19111/datum.cpp
index 83f615e9..d94d729c 100644
--- a/src/iso19111/datum.cpp
+++ b/src/iso19111/datum.cpp
@@ -1574,8 +1574,7 @@ DatumEnsemble::DatumEnsemble(const std::vector<DatumNNPtr> &datumsIn,
#ifdef notdef
DatumEnsemble::DatumEnsemble(const DatumEnsemble &other)
- : common::IdentifiedObject(other),
- d(internal::make_unique<Private>(*other.d)) {}
+ : common::ObjectUsage(other), d(internal::make_unique<Private>(*other.d)) {}
#endif
// ---------------------------------------------------------------------------