Build viewer/editor #13

Manually merged
williamjcm merged 128 commits from mass-viewer into master 2022-03-02 14:50:10 +01:00
Showing only changes of commit 5e06c48492 - Show all commits

View file

@ -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);
}