From 22d3da9235a93558162133fb43671e6db2669f8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Fri, 22 Sep 2017 09:53:57 +0200 Subject: [PATCH] Delete unused Atomic32 overloads of binary +/- operators. Bug: None Change-Id: I731513aabb45f006112c150ea0e213761cb0716e Reviewed-on: https://webrtc-review.googlesource.com/2680 Reviewed-by: Henrik Grunell Commit-Queue: Niels Moller Cr-Commit-Position: refs/heads/master@{#19924} --- system_wrappers/include/atomic32.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/system_wrappers/include/atomic32.h b/system_wrappers/include/atomic32.h index ba769d01e5..a031f0784e 100644 --- a/system_wrappers/include/atomic32.h +++ b/system_wrappers/include/atomic32.h @@ -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(&value_) & 3) == 0;