diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-03-06 23:10:45 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-03-06 23:14:25 +0100 |
| commit | 6dae91bd0626dd91b3b729a8b58e72128d2928e1 (patch) | |
| tree | 5ee19609faac5e01c021fdb53f39ae2f06e0de41 /include | |
| parent | 3af34fc1c404ab05499134fb36288c883ae1c1c9 (diff) | |
| download | PROJ-6dae91bd0626dd91b3b729a8b58e72128d2928e1.tar.gz PROJ-6dae91bd0626dd91b3b729a8b58e72128d2928e1.zip | |
UnitOfMeasure: add a move assignment operator (CID 314811)
Diffstat (limited to 'include')
| -rw-r--r-- | include/proj/common.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/proj/common.hpp b/include/proj/common.hpp index fa957c93..04ad63ad 100644 --- a/include/proj/common.hpp +++ b/include/proj/common.hpp @@ -86,6 +86,7 @@ class PROJ_GCC_DLL UnitOfMeasure : public util::BaseObject { PROJ_DLL UnitOfMeasure(const UnitOfMeasure &other); PROJ_DLL ~UnitOfMeasure() override; PROJ_DLL UnitOfMeasure &operator=(const UnitOfMeasure &other); + PROJ_DLL UnitOfMeasure &operator=(UnitOfMeasure &&other); PROJ_INTERNAL static UnitOfMeasureNNPtr create(const UnitOfMeasure &other); //! @endcond |
