rocksdb/cache
Zhongyi Xie d68f9f4580 simplify include directive involving inttypes (#5402)
Summary:
When using `PRIu64` type of printf specifier, current code base does the following:
```
#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS
#endif
#include <inttypes.h>
```
However, this can be simplified to
```
#include <cinttypes>
```
as long as flag `-std=c++11` is used.
This should solve issues like https://github.com/facebook/rocksdb/issues/5159
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5402

Differential Revision: D15701195

Pulled By: miasantreble

fbshipit-source-id: 6dac0a05f52aadb55e9728038599d3d2e4b59d03
2019-06-06 13:56:07 -07:00
..
cache_bench.cc simplify include directive involving inttypes (#5402) 2019-06-06 13:56:07 -07:00
cache_test.cc Move some memory related files from util/ to memory/ (#5382) 2019-05-30 17:44:09 -07:00
clock_cache.cc Add final annotations to some cache functions (#5156) 2019-04-05 16:08:01 -07:00
clock_cache.h Change RocksDB License 2017-07-15 16:11:23 -07:00
lru_cache_test.cc Move test related files under util/ to test_util/ (#5377) 2019-05-30 11:25:51 -07:00
lru_cache.cc simplify include directive involving inttypes (#5402) 2019-06-06 13:56:07 -07:00
lru_cache.h Add final annotations to some cache functions (#5156) 2019-04-05 16:08:01 -07:00
sharded_cache.cc simplify include directive involving inttypes (#5402) 2019-06-06 13:56:07 -07:00
sharded_cache.h Consolidate hash function used for non-persistent data in a new function (#5155) 2019-04-08 13:32:06 -07:00