mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
SCRIPT namespace replacements
This commit is contained in:
committed by
Peter Johnson
parent
ae6c043632
commit
9aca8e0fd6
@@ -7,6 +7,6 @@
|
||||
namespace gch {
|
||||
|
||||
template <typename T>
|
||||
using small_vector = wpi::SmallVector<T>;
|
||||
using small_vector = wpi::util::SmallVector<T>;
|
||||
|
||||
} // namespace gch
|
||||
|
||||
@@ -116,7 +116,7 @@ class SLEIPNIR_DLLEXPORT Spy {
|
||||
*/
|
||||
void write32le(int32_t num) {
|
||||
if constexpr (std::endian::native != std::endian::little) {
|
||||
num = wpi::byteswap(num);
|
||||
num = wpi::util::byteswap(num);
|
||||
}
|
||||
m_file.write(reinterpret_cast<char*>(&num), sizeof(num));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user