Delete unused Atomic32 overloads of binary +/- operators.

Bug: None
Change-Id: I731513aabb45f006112c150ea0e213761cb0716e
Reviewed-on: https://webrtc-review.googlesource.com/2680
Reviewed-by: Henrik Grunell <henrikg@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19924}
This commit is contained in:
Niels Möller
2017-09-22 09:53:57 +02:00
committed by Commit Bot
parent 2cefac6c16
commit 22d3da9235

View File

@ -46,11 +46,6 @@ class Atomic32 {
}
private:
// Disable the + and - operator since it's unclear what these operations
// should do.
Atomic32 operator+(const Atomic32& other);
Atomic32 operator-(const Atomic32& other);
// Checks if |_value| is 32bit aligned.
inline bool Is32bitAligned() const {
return (reinterpret_cast<ptrdiff_t>(&value_) & 3) == 0;