aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow
diff options
context:
space:
mode:
authorGravatar Misha Brukman <mbrukman@google.com>2018-08-13 15:45:34 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-13 15:51:18 -0700
commitfb0cc0e54ae2beba3cf5659a582684957e46d124 (patch)
treef0fdf81757bc3d5051d0941ce0237f5ebf8c329d /tensorflow
parent61e2bbf55f514420ff5dc3770bf86eb1f9f0d821 (diff)
Add missing `override` annotation to make compiler happy
Removes build-time compiler warnings due to overriding a member function without an explicit `override` marker due to `-Winconsistent-missing-override` directive. PiperOrigin-RevId: 208556615
Diffstat (limited to 'tensorflow')
-rw-r--r--tensorflow/core/common_runtime/collective_rma_local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/common_runtime/collective_rma_local.h b/tensorflow/core/common_runtime/collective_rma_local.h
index dbb2e67c7d..44408438b9 100644
--- a/tensorflow/core/common_runtime/collective_rma_local.h
+++ b/tensorflow/core/common_runtime/collective_rma_local.h
@@ -34,7 +34,7 @@ class CollectiveRemoteAccessLocal : public PerStepCollectiveRemoteAccess {
virtual ~CollectiveRemoteAccessLocal() {}
- void StartAbort(const Status& s);
+ void StartAbort(const Status& s) override;
void RecvFromPeer(const string& peer_device, const string& peer_task,
bool peer_is_local, const string& key, Device* to_device,