From 59ea781f5d45b24cf3819a44902cacf297785d84 Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Wed, 25 Feb 2026 15:39:02 +0500 Subject: change(tag_list::ctor): rename "type" to "content_type" Fixes compiler warning caused by `type` constructor parameter shadowing `type` static constexpr value Signed-off-by: Octol1ttle --- include/tag_list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tag_list.h b/include/tag_list.h index e2c9b7bb7c..07b68c25fc 100644 --- a/include/tag_list.h +++ b/include/tag_list.h @@ -67,7 +67,7 @@ public: tag_list(): tag_list(tag_type::Null) {} ///Constructs an empty list with the given content type - explicit tag_list(tag_type type): el_type_(type) {} + explicit tag_list(tag_type content_type): el_type_(content_type) {} ///Constructs a list with the given contents tag_list(std::initializer_list init); -- cgit 0.0.5-2-1-g0f52