From cccabd76c31a4ab76f5b9f2e5568e35e813efe95 Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (o)" <j.wuttke@fz-juelich.de> Date: Tue, 6 Sep 2022 11:31:19 +0200 Subject: [PATCH] OwningVector: correct Doxy comm --- Base/Types/OwningVector.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Base/Types/OwningVector.h b/Base/Types/OwningVector.h index 173f1dcfb3f..90a4860fa23 100644 --- a/Base/Types/OwningVector.h +++ b/Base/Types/OwningVector.h @@ -29,7 +29,8 @@ //! Equips vector<unique_ptr<T>> with copy constructor. //! For use with polymorphic objects, or in pimpl idiom. -//! The objects pointed to must posses a clone() function. +//! If the copy constructor or the copy assignment operator is used, +//! then there must be a function T::clone(). template <class T> class OwningVector { -- GitLab