From 37e9c71f6578b980ea70264a5aa53dad9ea468f6 Mon Sep 17 00:00:00 2001 From: mertcandav Date: Mon, 2 Sep 2024 01:23:45 +0300 Subject: [PATCH] api: fix naming --- api/trait.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/trait.hpp b/api/trait.hpp index 10a7e7fc9..a367c5f71 100644 --- a/api/trait.hpp +++ b/api/trait.hpp @@ -205,7 +205,7 @@ namespace jule return this->data.template as(); } - inline jule::Trait mask(void *(*typeMapper)(const void *)) noexcept + inline jule::Trait map(void *(*typeMapper)(const void *)) noexcept { jule::Trait newTrait; newTrait.type = (jule::Trait::Type *)typeMapper((void *)this->type);