From 4a4061dfcde48ddef63527ed86de7bceda2a4105 Mon Sep 17 00:00:00 2001 From: vil02 Date: Sun, 28 Jan 2024 10:11:21 +0100 Subject: [PATCH] fix: add missing `return` to `Trait::operator T(void)` --- api/trait.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/trait.hpp b/api/trait.hpp index 0621f7dd4..02dcc70a4 100644 --- a/api/trait.hpp +++ b/api/trait.hpp @@ -206,7 +206,7 @@ namespace jule template inline operator T(void) noexcept { - this->cast( + return this->cast( #ifndef __JULE_ENABLE__PRODUCTION "/api/trait.hpp" #endif