A small refactor in BaseBuffer, in preparation for a bigger one
This commit is contained in:
@@ -230,7 +230,7 @@ class PlayLogfile : public BaseWriter<PlayLogfile>, public std::ofstream {
|
||||
using std::ofstream::ofstream;
|
||||
public:
|
||||
void write_bytes(const char *n, size_t size) { write(n, size); }
|
||||
void raise_truncated() {
|
||||
void raise_integer_truncated() {
|
||||
fprintf(stderr, "number exceeds allowable size\n");
|
||||
std::abort();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user