diff options
| author | Octol1ttle <l1ttleofficial@outlook.com> | 2026-02-25 15:39:02 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-25 15:39:02 +0500 |
| commit | 59ea781f5d45b24cf3819a44902cacf297785d84 (patch) | |
| tree | 4b27edab2e7300c2e14fe98bb86f118de7a3eac1 /include | |
| parent | 531449ba1c930c98e0bcf5d332b237a8566f9d78 (diff) | |
| download | Project-Tick-59ea781f5d45b24cf3819a44902cacf297785d84.tar.gz Project-Tick-59ea781f5d45b24cf3819a44902cacf297785d84.zip | |
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 <l1ttleofficial@outlook.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/tag_list.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<int8_t> init); |
