We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 936e541 commit 2ffb438Copy full SHA for 2ffb438
code/include/rlbox_stdlib.hpp
@@ -138,7 +138,7 @@ template<typename T>
138
static constexpr bool can_type_be_memcopied =
139
std::is_same_v<char, std::remove_cv_t<T>> || std::is_same_v<wchar_t, std::remove_cv_t<T>> ||
140
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>>;
+ std::is_same_v<char16_t, std::remove_cv_t<T>> || std::is_same_v<short, std::remove_cv_t<T>>;
142
143
/**
144
* @brief Copy to sandbox memory area. Note that memcpy is meant to be called on
0 commit comments