diff options
Diffstat (limited to 'include/ocl/core')
| -rw-r--r-- | include/ocl/core/allocator_op.hpp | 2 | ||||
| -rw-r--r-- | include/ocl/core/config.hpp | 5 | ||||
| -rw-r--r-- | include/ocl/core/is_same.hpp | 4 |
3 files changed, 3 insertions, 8 deletions
diff --git a/include/ocl/core/allocator_op.hpp b/include/ocl/core/allocator_op.hpp index 539c7e6..e25fc1c 100644 --- a/include/ocl/core/allocator_op.hpp +++ b/include/ocl/core/allocator_op.hpp @@ -60,7 +60,7 @@ namespace ocl }; template <typename type> - using allocator_type = allocator_op<type, global_new_op<type>, global_delete_op<type>>; + using allocator = allocator_op<type, global_new_op<type>, global_delete_op<type>>; } // namespace ocl #endif // ifndef _OCL_ALLOCATOR_SYSTEM_HPP
\ No newline at end of file diff --git a/include/ocl/core/config.hpp b/include/ocl/core/config.hpp index c354672..a0ddd66 100644 --- a/include/ocl/core/config.hpp +++ b/include/ocl/core/config.hpp @@ -31,8 +31,3 @@ #define OCL_DECL #define OCL_EXPORT_DECL #endif - -namespace ocl -{ - using char_type = char; -} // namespace ocl
\ No newline at end of file diff --git a/include/ocl/core/is_same.hpp b/include/ocl/core/is_same.hpp index e6f42c4..fdf80d7 100644 --- a/include/ocl/core/is_same.hpp +++ b/include/ocl/core/is_same.hpp @@ -10,7 +10,7 @@ #include <core/config.hpp> /// @brief OCL equivalence namespace. -namespace ocl::is_same +namespace ocl { template <typename T> struct basic_hash @@ -103,4 +103,4 @@ namespace ocl::is_same return left_ / right_ == 1; } }; -} // namespace ocl::is_same +} // namespace ocl |
