diff options
author | costan <costan@google.com> | 2019-03-27 12:41:45 -0700 |
---|---|---|
committer | Chris Mumford <cmumford@google.com> | 2019-03-29 11:22:22 -0700 |
commit | da94ac67e91679842a56a876f0b19b429d72de25 (patch) | |
tree | 1f4dcfe2bfb6a8260a2010cfeac325ad32de9a28 /port/port_stdcxx.h | |
parent | bd24b963060861518c6648925f9708178562c992 (diff) | |
download | leveldb-da94ac67e91679842a56a876f0b19b429d72de25.tar.gz |
leveldb: Minor cleanup in ports.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=240619768
Diffstat (limited to 'port/port_stdcxx.h')
-rw-r--r-- | port/port_stdcxx.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/port/port_stdcxx.h b/port/port_stdcxx.h index d0609a8..7638ded 100644 --- a/port/port_stdcxx.h +++ b/port/port_stdcxx.h @@ -29,12 +29,13 @@ #include <snappy.h> #endif // HAVE_SNAPPY -#include <stddef.h> -#include <stdint.h> #include <cassert> +#include <cstddef> +#include <cstdint> #include <condition_variable> // NOLINT #include <mutex> // NOLINT #include <string> + #include "port/thread_annotations.h" namespace leveldb { @@ -84,7 +85,7 @@ class CondVar { }; inline bool Snappy_Compress(const char* input, size_t length, - ::std::string* output) { + std::string* output) { #if HAVE_SNAPPY output->resize(snappy::MaxCompressedLength(length)); size_t outlen; |