Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim Sadokhov committed Aug 28, 2024
1 parent 63d499f commit 91060e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions runtime-light/tl/tl-core.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ class TLBuffer : private vk::not_copyable {
}

template<standard_layout T, standard_layout U>
requires std::convertible_to<U, T>
void store_trivial(const U &t) noexcept {
requires std::convertible_to<U, T> void store_trivial(const U &t) noexcept {
// Here we rely on that endianness of architecture is Little Endian
store_bytes(reinterpret_cast<const char *>(std::addressof(t)), sizeof(T));
}
Expand Down
2 changes: 1 addition & 1 deletion runtime-light/utils/utils.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
prepend(RUNTIME_UTILS_SRC ${BASE_DIR}/runtime-light/utils/
prepend(RUNTIME_UTILS_SRC utils/
php_assert.cpp
json-functions.cpp
context.cpp
Expand Down

0 comments on commit 91060e5

Please sign in to comment.