Skip to content

Commit 2ffb438

Browse files
wrvshravanrn
authored andcommitted
Add short to copy and grant types
1 parent 936e541 commit 2ffb438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/include/rlbox_stdlib.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ template<typename T>
138138
static constexpr bool can_type_be_memcopied =
139139
std::is_same_v<char, std::remove_cv_t<T>> || std::is_same_v<wchar_t, std::remove_cv_t<T>> ||
140140
std::is_same_v<float, std::remove_cv_t<T>> || std::is_same_v<double, std::remove_cv_t<T>> ||
141-
std::is_same_v<char16_t, std::remove_cv_t<T>>;
141+
std::is_same_v<char16_t, std::remove_cv_t<T>> || std::is_same_v<short, std::remove_cv_t<T>>;
142142

143143
/**
144144
* @brief Copy to sandbox memory area. Note that memcpy is meant to be called on

0 commit comments

Comments
 (0)