use modern construct 'override' in the derive class.
[platform/core/uifw/dali-core.git] / dali / internal / render / data-providers / node-data-provider.h
index 3a4f27a..9603a77 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_INTERNAL_SCENE_GRAPH_NODE_DATA_PROVIDER_H__
-#define __DALI_INTERNAL_SCENE_GRAPH_NODE_DATA_PROVIDER_H__
+#ifndef DALI_INTERNAL_SCENE_GRAPH_NODE_DATA_PROVIDER_H
+#define DALI_INTERNAL_SCENE_GRAPH_NODE_DATA_PROVIDER_H
 
 /*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -57,22 +57,22 @@ public:
   /**
    * @copydoc Dali::Internal::SceneGraph::UniformMapDataProvider::GetUniformMapChanged()
    */
-  virtual bool GetUniformMapChanged( BufferIndex bufferIndex ) const = 0;
+  bool GetUniformMapChanged( BufferIndex bufferIndex ) const override = 0;
 
   /**
    * @copydoc Dali::Internal::SceneGraph::UniformMapDataProvider::GetUniformMap()
    */
-  virtual const CollectedUniformMap& GetUniformMap( BufferIndex bufferIndex ) const = 0;
+  const CollectedUniformMap& GetUniformMap( BufferIndex bufferIndex ) const override = 0;
 
 protected:
   /**
    * Virtual destructor, this is an interface, no deletion through this interface
    */
-  virtual ~NodeDataProvider() { }
+  ~NodeDataProvider() override { }
 };
 
 } // SceneGraph
 } // Internal
 } // Dali
 
-#endif // __DALI_INTERNAL_SCENE_GRAPH_NODE_DATA_PROVIDER_H__
+#endif // DALI_INTERNAL_SCENE_GRAPH_NODE_DATA_PROVIDER_H