Commit cdd9b5d8 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Replacing 'typedef' with 'using' in shared pointers.

parent 6b5a524c
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -65,9 +65,9 @@ class SharedPointer< Object, Devices::Cuda > : public SmartPointer

   public:

      typedef Object ObjectType;
      typedef Devices::Cuda DeviceType;
      typedef SharedPointer<  Object, Devices::Cuda > ThisType;
      using ObjectType = Object;
      using DeviceType = Devices::Cuda; 
      using ThisType = SharedPointer<  Object, Devices::Host >;

      SharedPointer( std::nullptr_t )
      : pd( nullptr )
@@ -317,9 +317,9 @@ class SharedPointer< Object, Devices::Cuda > : public SmartPointer

   public:

      typedef Object ObjectType;
      typedef Devices::Cuda DeviceType;
      typedef SharedPointer<  Object, Devices::Cuda > ThisType;
      using ObjectType = Object;
      using DeviceType = Devices::Cuda; 
      using ThisType = SharedPointer<  Object, Devices::Host >;

      SharedPointer( std::nullptr_t )
      : pd( nullptr ),
+3 −3
Original line number Diff line number Diff line
@@ -37,9 +37,9 @@ class SharedPointer< Object, Devices::Host > : public SmartPointer

   public:

      typedef Object ObjectType;
      typedef Devices::Host DeviceType;
      typedef SharedPointer<  Object, Devices::Host > ThisType;
      using ObjectType = Object;
      using DeviceType = Devices::Host; 
      using ThisType = SharedPointer<  Object, Devices::Host >;

      SharedPointer( std::nullptr_t )
      : pd( nullptr )
+3 −3
Original line number Diff line number Diff line
@@ -40,9 +40,9 @@ class SharedPointer< Object, Devices::MIC > : public SmartPointer

   public:

      typedef Object ObjectType;
      typedef Devices::MIC DeviceType;
      typedef SharedPointer< Object, Devices::MIC> ThisType;
      using ObjectType = Object;
      using DeviceType = Devices::MIC; 
      using ThisType = SharedPointer<  Object, Devices::Host >;

      SharedPointer( std::nullptr_t )
      : pd( nullptr ),