Skip to content

Commit

Permalink
Add short to copy and grant types
Browse files Browse the repository at this point in the history
  • Loading branch information
wrv authored and shravanrn committed Jul 27, 2023
1 parent 936e541 commit 2ffb438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/include/rlbox_stdlib.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ template<typename T>
static constexpr bool can_type_be_memcopied =
std::is_same_v<char, std::remove_cv_t<T>> || std::is_same_v<wchar_t, std::remove_cv_t<T>> ||
std::is_same_v<float, std::remove_cv_t<T>> || std::is_same_v<double, std::remove_cv_t<T>> ||
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>>;

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

0 comments on commit 2ffb438

Please sign in to comment.