diff options
author | 2015-12-22 13:49:30 -0800 | |
---|---|---|
committer | 2015-12-22 13:49:30 -0800 | |
commit | 7536af02cf218f8dcb1368bec6d86c65db95c9b4 (patch) | |
tree | cd560e1321aed28504aca5358dabbf49692a0956 /include/grpc++/impl/call.h | |
parent | 2d2963e5e919128929e8a62a17fbbc9f3fd684d9 (diff) |
Eliminate gpr_ int types - and insist on C99 variants instead
Diffstat (limited to 'include/grpc++/impl/call.h')
-rw-r--r-- | include/grpc++/impl/call.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/grpc++/impl/call.h b/include/grpc++/impl/call.h index df45d6f485..cb7856bfbe 100644 --- a/include/grpc++/impl/call.h +++ b/include/grpc++/impl/call.h @@ -70,7 +70,7 @@ class WriteOptions { inline void Clear() { flags_ = 0; } /// Returns raw flags bitset. - inline gpr_uint32 flags() const { return flags_; } + inline uint32_t flags() const { return flags_; } /// Sets flag for the disabling of compression for the next message write. /// @@ -126,13 +126,13 @@ class WriteOptions { } private: - void SetBit(const gpr_uint32 mask) { flags_ |= mask; } + void SetBit(const uint32_t mask) { flags_ |= mask; } - void ClearBit(const gpr_uint32 mask) { flags_ &= ~mask; } + void ClearBit(const uint32_t mask) { flags_ &= ~mask; } - bool GetBit(const gpr_uint32 mask) const { return (flags_ & mask) != 0; } + bool GetBit(const uint32_t mask) const { return (flags_ & mask) != 0; } - gpr_uint32 flags_; + uint32_t flags_; }; /// Default argument for CallOpSet. I is unused by the class, but can be |