made method const

This commit is contained in:
mendax0110 2023-08-28 12:30:03 +02:00
parent 2d323b5711
commit feda281d85

View file

@ -534,7 +534,7 @@ struct llama_file {
} }
} }
void write_u32(std::uint32_t val) { void write_u32(std::uint32_t val) const {
write_raw(&val, sizeof(val)); write_raw(&val, sizeof(val));
} }