Merge commit 'f92c8ab577b28e108464f9b04eaa529fe0add452'
This commit is contained in:
4
deps/ox/src/ox/std/byteswap.hpp
vendored
4
deps/ox/src/ox/std/byteswap.hpp
vendored
@@ -11,8 +11,6 @@
|
||||
#include "types.hpp"
|
||||
|
||||
namespace ox {
|
||||
namespace std {
|
||||
|
||||
|
||||
inline int16_t byteSwap(int16_t i) {
|
||||
return (i << 8) | (i >> 8);
|
||||
@@ -140,6 +138,4 @@ inline uint64_t bigEndianAdapt(uint64_t i) {
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
2
deps/ox/src/ox/std/test/byteswap_test.cpp
vendored
2
deps/ox/src/ox/std/test/byteswap_test.cpp
vendored
@@ -10,7 +10,7 @@
|
||||
#include <ox/std/std.hpp>
|
||||
|
||||
using namespace std;
|
||||
using namespace ox::std;
|
||||
using namespace ox;
|
||||
|
||||
template<typename T>
|
||||
int testBigEndianAdapt(string str) {
|
||||
|
Reference in New Issue
Block a user