Commit cebee6e
committed
Fix g++6 compile error
this error would be emitted when compiling with g++6
```
/pebblesdb/src/db/db_test.cc: In function ‘void
leveldb::print_timer_info(std::__cxx11::string, uint64_t, uint64_t)’:
/pebblesdb/src/db/db_test.cc:2237:25: error: call of overloaded
‘abs(uint64_t)’ is ambiguous
uint64_t diff = abs(a-b);
```1 parent 93bd824 commit cebee6e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2234 | 2234 | | |
2235 | 2235 | | |
2236 | 2236 | | |
2237 | | - | |
2238 | | - | |
| 2237 | + | |
| 2238 | + | |
2239 | 2239 | | |
2240 | 2240 | | |
2241 | 2241 | | |
| |||
0 commit comments