From 936611b47c58dd5cb15eac8d130d167d10ec015e Mon Sep 17 00:00:00 2001 From: Max Kellermann <max.kellermann@ionos.com> Date: Thu, 23 Jan 2025 16:31:29 +0100 Subject: [PATCH] util/ShallowCopy: rename header to TagStructs.hxx This new header will be a collection of more structs like ShallowCopy. --- src/util/IntrusiveForwardList.hxx | 2 +- src/util/{ShallowCopy.hxx => TagStructs.hxx} | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) rename src/util/{ShallowCopy.hxx => TagStructs.hxx} (69%) diff --git a/src/util/IntrusiveForwardList.hxx b/src/util/IntrusiveForwardList.hxx index fb6df7f78..b3eb44395 100644 --- a/src/util/IntrusiveForwardList.hxx +++ b/src/util/IntrusiveForwardList.hxx @@ -9,7 +9,7 @@ #include "MemberPointer.hxx" #include "OptionalCounter.hxx" #include "OptionalField.hxx" -#include "ShallowCopy.hxx" +#include "TagStructs.hxx" #include <iterator> #include <type_traits> diff --git a/src/util/ShallowCopy.hxx b/src/util/TagStructs.hxx similarity index 69% rename from src/util/ShallowCopy.hxx rename to src/util/TagStructs.hxx index 411656c4a..bf11e84b4 100644 --- a/src/util/ShallowCopy.hxx +++ b/src/util/TagStructs.hxx @@ -4,6 +4,11 @@ #pragma once +/* + * This header contains empty struct definitiosn that are supposed to + * select special overloads of functions/methods/constructors. + */ + /** * A tag for overloading copying constructors, telling them to make * shallow copies of source data (e.g. copy pointers instead of