diff options
author | costan <costan@google.com> | 2018-09-04 09:50:50 -0700 |
---|---|---|
committer | Victor Costan <pwnall@chromium.org> | 2018-09-04 10:38:12 -0700 |
commit | 7b945f200339aa47c24788d3ee9910c09c513843 (patch) | |
tree | 0d5338bec1bf6833428f03be804a98a3071825e7 /CMakeLists.txt | |
parent | 89af27bde59fbbb3025653812b45fec10a655cb7 (diff) | |
download | leveldb-7b945f200339aa47c24788d3ee9910c09c513843.tar.gz |
Clean up posix_logger.h.
General cleanup principles:
* Use override when applicable.
* Use const on class members where possible.
* Renames where clarity can be improved.
* Qualify standard library names with std:: when possible, to
distinguish from POSIX names.
* Qualify POSIX names with the global namespace (::) when possible, to
distinguish from standard library names.
This also revamps the logic for putting together a message into the
in-memory buffer before that is passed to fwrite(). While correct in
practice, the current implementation advances a char pointer past the
size of its buffer, which is technically undefined behavior.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=211472570
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions