Skip to content

Commit 9d28ab9

Browse files
committed
deprecate geode::cast::as, will be removed in v5
1 parent fbba3e6 commit 9d28ab9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

loader/include/Geode/utils/casts.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ namespace geode::cast {
1010
* Alias for static_cast
1111
*/
1212
template <class T, class F>
13+
[[deprecated("This will be removed in v5, use static_cast instead")]]
1314
static constexpr T as(F const v) {
1415
return static_cast<T>(v);
1516
}

0 commit comments

Comments
 (0)