aboutsummaryrefslogtreecommitdiff
path: root/frontend/print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/print.cpp')
-rw-r--r--frontend/print.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/print.cpp b/frontend/print.cpp
index 396e9ad..0c60892 100644
--- a/frontend/print.cpp
+++ b/frontend/print.cpp
@@ -57,15 +57,15 @@ SessionLog::SessionLog() {
this->file = { file, [] (FILE * file) { fclose(file); } };
}
-void SessionLog::append(const string & str) {
+void SessionLog::append(const string & str) const {
this->append(str.data(), str.size());
}
-void SessionLog::append(const char * str) {
+void SessionLog::append(const char * str) const {
this->append(str, strlen(str));
}
-void SessionLog::append(const char * buf, size_t buf_size) {
+void SessionLog::append(const char * buf, size_t buf_size) const {
if (this->file == nullptr) return;
if (buf_size == 0) return;
fwrite(buf, 1, buf_size, this->file.get());