No shadow in public headers

main
Igor Canadi 11 years ago
parent 1405232b6d
commit b3d7435b4e
  1. 4
      include/rocksdb/options.h
  2. 4
      include/rocksdb/slice.h

@ -62,8 +62,8 @@ struct CompressionOptions {
int level;
int strategy;
CompressionOptions() : window_bits(-14), level(-1), strategy(0) {}
CompressionOptions(int wbits, int lev, int strategy)
: window_bits(wbits), level(lev), strategy(strategy) {}
CompressionOptions(int wbits, int _lev, int _strategy)
: window_bits(wbits), level(_lev), strategy(_strategy) {}
};
enum UpdateStatus { // Return status For inplace update callback

@ -105,8 +105,8 @@ class Slice {
// A set of Slices that are virtually concatenated together. 'parts' points
// to an array of Slices. The number of elements in the array is 'num_parts'.
struct SliceParts {
SliceParts(const Slice* parts, int num_parts) :
parts(parts), num_parts(num_parts) { }
SliceParts(const Slice* _parts, int _num_parts) :
parts(_parts), num_parts(_num_parts) { }
const Slice* parts;
int num_parts;

Loading…
Cancel
Save