Build viewer/editor #13
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class BinaryWriter {
|
|||
|
||||
template<typename T, typename U = std::conditional_t<std::is_trivially_copyable<T>::value, T, T&>>
|
||||
auto writeValueToArray(U value) -> UnsignedLong {
|
||||
Containers::ArrayView<U> view{&value, 1};
|
||||
Containers::ArrayView<T> view{&value, 1};
|
||||
return writeDataToArray(view);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue