diff options
author | Victor Costan <costan@google.com> | 2020-04-29 19:59:39 +0000 |
---|---|---|
committer | Victor Costan <costan@google.com> | 2020-04-29 20:51:13 +0000 |
commit | 3f934e3705444a3df80b128ddefc4cf440441ffe (patch) | |
tree | 7f9003632579b80fb7ba535ecd2abbfc911502d0 /benchmarks/db_bench.cc | |
parent | 23d67e7c1f4396919bd0c73c0eced13a0dac37f3 (diff) | |
download | leveldb-3f934e3705444a3df80b128ddefc4cf440441ffe.tar.gz |
Switch from C headers to C++ headers.
This CL makes the following substitutions.
* assert.h -> cassert
* math.h -> cmath
* stdarg.h -> cstdarg
* stddef.h -> cstddef
* stdint.h -> cstdint
* stdio.h -> cstdio
* stdlib.h -> cstdlib
* string.h -> cstring
PiperOrigin-RevId: 309080151
Diffstat (limited to 'benchmarks/db_bench.cc')
-rw-r--r-- | benchmarks/db_bench.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/benchmarks/db_bench.cc b/benchmarks/db_bench.cc index 82ed892..3dcd751 100644 --- a/benchmarks/db_bench.cc +++ b/benchmarks/db_bench.cc @@ -2,10 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. -#include <stdio.h> -#include <stdlib.h> #include <sys/types.h> +#include <cstdio> +#include <cstdlib> + #include "leveldb/cache.h" #include "leveldb/db.h" #include "leveldb/env.h" |