Use modern construct 'using' instead of typedef.
[platform/core/uifw/dali-core.git] / dali / internal / update / nodes / node-declarations.h
index 0c288f8..affd44f 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_INTERNAL_SCENE_GRAPH_NODE_DECLARATIONS_H__
-#define __DALI_INTERNAL_SCENE_GRAPH_NODE_DECLARATIONS_H__
+#ifndef DALI_INTERNAL_SCENE_GRAPH_NODE_DECLARATIONS_H
+#define DALI_INTERNAL_SCENE_GRAPH_NODE_DECLARATIONS_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.
@@ -35,9 +35,9 @@ namespace SceneGraph
 
 class Node;
 
-typedef Dali::Vector< Node* > NodeContainer;
-typedef NodeContainer::Iterator NodeIter;
-typedef NodeContainer::ConstIterator NodeConstIter;
+using NodeContainer = Dali::Vector<Node *>;
+using NodeIter      = NodeContainer::Iterator;
+using NodeConstIter = NodeContainer::ConstIterator;
 
 /**
  * Flag whether property has changed, during the Update phase.
@@ -62,4 +62,4 @@ template<> struct EnableBitMaskOperators< Internal::SceneGraph::NodePropertyFlag
 
 } // namespace Dali
 
-#endif // __DALI_INTERNAL_SCENE_GRAPH_NODE_DECLARATIONS_H__
+#endif // DALI_INTERNAL_SCENE_GRAPH_NODE_DECLARATIONS_H