Update copyright year to 2015 for public api: core
[platform/core/uifw/dali-core.git] / dali / public-api / common / dali-vector.h
index 50f1220..82bb898 100644 (file)
@@ -2,7 +2,7 @@
 #define __DALI_VECTOR_H__
 
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2015 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.
@@ -20,6 +20,7 @@
 
 // EXTERNAL INCLUDES
 #include <cstddef>
+#include <algorithm>
 
 // INTERNAL INCLUDES
 #include <dali/public-api/common/dali-common.h>
@@ -40,7 +41,7 @@
 #define DALI_ASSERT_VECTOR(cond)
 #endif
 
-namespace Dali DALI_IMPORT_API
+namespace Dali
 {
 
 /**
@@ -50,7 +51,7 @@ namespace Dali DALI_IMPORT_API
  * and capacity of the vector. mData is adjusted so that it points to the
  * beginning of the first real item so that iterating the items is quick.
  */
-class VectorBase
+class DALI_IMPORT_API VectorBase
 {
 public: // Typedefs
 
@@ -186,14 +187,6 @@ protected: // Data
 
 };
 
-} // namespace Dali
-
-/**
- * This template section does not need to be exported, it should use the visibility of the code its used in
- */
-namespace Dali
-{
-
 /**
  * @brief Vector algorithm variant for trivial types.
  *