Use modern construct 'using' instead of typedef.
[platform/core/uifw/dali-core.git] / dali / internal / common / shader-saver.h
index 580cab6..e53185c 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_INTERNAL_SHADER_DISPATCHER_H__
-#define __DALI_INTERNAL_SHADER_DISPATCHER_H__
+#ifndef DALI_INTERNAL_SHADER_DISPATCHER_H
+#define DALI_INTERNAL_SHADER_DISPATCHER_H
 
 /*
- * Copyright (c) 2015 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.
@@ -30,7 +30,7 @@ namespace Dali
 namespace Internal
 {
 class ShaderData;
-typedef IntrusivePtr<ShaderData> ShaderDataPtr;
+using ShaderDataPtr = IntrusivePtr<ShaderData>;
 
 /**
  * Abstract interface for passing a ShaderData object towards being saved.
@@ -57,4 +57,4 @@ protected:
 
 } // namespace Dali
 
-#endif // __DALI_INTERNAL_SHADER_DISPATCHER_H__
+#endif // DALI_INTERNAL_SHADER_DISPATCHER_H