mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-02 13:20:12 +00:00
Fix definition of read8/write8 in base::serialization namespace.
This commit is contained in:
parent
69dff9b5d0
commit
be955de1da
@ -8,7 +8,8 @@
|
||||
|
||||
#include "base/serialization.h"
|
||||
|
||||
using namespace base::serialization;
|
||||
namespace base {
|
||||
namespace serialization {
|
||||
|
||||
std::ostream& write8(std::ostream& os, uint8_t byte)
|
||||
{
|
||||
@ -88,3 +89,6 @@ uint32_t big_endian::read32(std::istream& is)
|
||||
b1 = is.get();
|
||||
return ((b4 << 24) | (b3 << 16) | (b2 << 8) | b1);
|
||||
}
|
||||
|
||||
} // namespace serialization
|
||||
} // namespace base
|
||||
|
Loading…
x
Reference in New Issue
Block a user