diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-10-10 16:59:44 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-10-10 17:07:24 +0200 |
commit | 4569a747f8af3880e23408eb93323afc8088b78b (patch) | |
tree | 81dcea51020173cd4951e8649f8bd8305e7c2591 /kernel/log.cc | |
parent | c7f5aab625bb90e766c1852592fdf42c951716c0 (diff) |
Renamed SIZE() to GetSize() because of name collision on Win32
Diffstat (limited to 'kernel/log.cc')
-rw-r--r-- | kernel/log.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/log.cc b/kernel/log.cc index 1b0eb664..87a75410 100644 --- a/kernel/log.cc +++ b/kernel/log.cc @@ -62,9 +62,9 @@ void logv(const char *format, va_list ap) size_t nnl_pos = str.find_last_not_of('\n'); if (nnl_pos == std::string::npos) - log_newline_count += SIZE(str); + log_newline_count += GetSize(str); else - log_newline_count = SIZE(str) - nnl_pos - 1; + log_newline_count = GetSize(str) - nnl_pos - 1; if (log_hasher) log_hasher->update(str); |