mirror of
https://github.com/enduro2d/enduro2d.git
synced 2026-01-05 01:51:02 +07:00
high to c++17
This commit is contained in:
@@ -13,7 +13,7 @@ namespace e2d
|
||||
class deferrer final : public module<deferrer> {
|
||||
public:
|
||||
deferrer();
|
||||
~deferrer() noexcept final;
|
||||
~deferrer() noexcept final = default;
|
||||
|
||||
stdex::jobber& worker() noexcept;
|
||||
const stdex::jobber& worker() const noexcept;
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
|
||||
#include "_high.hpp"
|
||||
|
||||
namespace e2d { namespace address
|
||||
namespace e2d::address
|
||||
{
|
||||
str parent(str_view address);
|
||||
str nested(str_view address);
|
||||
}}
|
||||
}
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
* Copyright (C) 2018-2019, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef E2D_INCLUDE_GUARD_1122A7CA62954AEF9E0A787064D28F73
|
||||
#define E2D_INCLUDE_GUARD_1122A7CA62954AEF9E0A787064D28F73
|
||||
#pragma once
|
||||
|
||||
#include "_high.hpp"
|
||||
@@ -133,4 +131,3 @@ namespace e2d
|
||||
}
|
||||
|
||||
#include "asset.inl"
|
||||
#endif
|
||||
|
||||
@@ -4,11 +4,10 @@
|
||||
* Copyright (C) 2018-2019, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef E2D_INCLUDE_GUARD_6FD0B1DD12004CF78E7AC5FBBC36E854
|
||||
#define E2D_INCLUDE_GUARD_6FD0B1DD12004CF78E7AC5FBBC36E854
|
||||
#pragma once
|
||||
|
||||
#include "_high.hpp"
|
||||
|
||||
#include "asset.hpp"
|
||||
|
||||
namespace e2d
|
||||
@@ -167,5 +166,3 @@ namespace e2d
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -14,8 +14,8 @@ namespace e2d
|
||||
{
|
||||
class atlas final {
|
||||
public:
|
||||
atlas();
|
||||
~atlas() noexcept;
|
||||
atlas() = default;
|
||||
~atlas() noexcept = default;
|
||||
|
||||
atlas(atlas&& other) noexcept;
|
||||
atlas& operator=(atlas&& other) noexcept;
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
* Copyright (C) 2018-2019, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef E2D_INCLUDE_GUARD_9C9B1BA27AAC42CBAA07890458076B81
|
||||
#define E2D_INCLUDE_GUARD_9C9B1BA27AAC42CBAA07890458076B81
|
||||
#pragma once
|
||||
|
||||
#include "_high.hpp"
|
||||
@@ -140,4 +138,3 @@ namespace e2d
|
||||
}
|
||||
|
||||
#include "factory.inl"
|
||||
#endif
|
||||
|
||||
@@ -4,11 +4,10 @@
|
||||
* Copyright (C) 2018-2019, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef E2D_INCLUDE_GUARD_6CDF0C8E49C9459EB7762C8AF7F7ED85
|
||||
#define E2D_INCLUDE_GUARD_6CDF0C8E49C9459EB7762C8AF7F7ED85
|
||||
#pragma once
|
||||
|
||||
#include "_high.hpp"
|
||||
|
||||
#include "factory.hpp"
|
||||
|
||||
namespace e2d
|
||||
@@ -88,4 +87,3 @@ namespace e2d
|
||||
return *this;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -24,8 +24,8 @@ namespace e2d
|
||||
vector<std::size_t> frames;
|
||||
};
|
||||
public:
|
||||
flipbook();
|
||||
~flipbook() noexcept;
|
||||
flipbook() = default;
|
||||
~flipbook() noexcept = default;
|
||||
|
||||
flipbook(flipbook&& other) noexcept;
|
||||
flipbook& operator=(flipbook&& other) noexcept;
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
* Copyright (C) 2018-2019, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef E2D_INCLUDE_GUARD_C3A242D805B8481AB9F778BA8F272D72
|
||||
#define E2D_INCLUDE_GUARD_C3A242D805B8481AB9F778BA8F272D72
|
||||
#pragma once
|
||||
|
||||
#include "_high.hpp"
|
||||
@@ -185,4 +183,3 @@ namespace e2d
|
||||
}
|
||||
|
||||
#include "library.inl"
|
||||
#endif
|
||||
|
||||
@@ -4,11 +4,10 @@
|
||||
* Copyright (C) 2018-2019, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef E2D_INCLUDE_GUARD_C9B4A08B2E2A4A659AB390BDC6EBEFE8
|
||||
#define E2D_INCLUDE_GUARD_C9B4A08B2E2A4A659AB390BDC6EBEFE8
|
||||
#pragma once
|
||||
|
||||
#include "_high.hpp"
|
||||
|
||||
#include "library.hpp"
|
||||
|
||||
namespace e2d
|
||||
@@ -312,5 +311,3 @@ namespace e2d
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -14,8 +14,8 @@ namespace e2d
|
||||
{
|
||||
class model final {
|
||||
public:
|
||||
model();
|
||||
~model() noexcept;
|
||||
model() = default;
|
||||
~model() noexcept = default;
|
||||
|
||||
model(model&& other) noexcept;
|
||||
model& operator=(model&& other) noexcept;
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
* Copyright (C) 2018-2019, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef E2D_INCLUDE_GUARD_8703CE4A74D94C3CA27ED91AFF906936
|
||||
#define E2D_INCLUDE_GUARD_8703CE4A74D94C3CA27ED91AFF906936
|
||||
#pragma once
|
||||
|
||||
#include "_high.hpp"
|
||||
@@ -157,4 +155,3 @@ namespace e2d
|
||||
}
|
||||
|
||||
#include "node.inl"
|
||||
#endif
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
* Copyright (C) 2018-2019, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef E2D_INCLUDE_GUARD_27EFFE66AA124FFB862BE95C2FF38017
|
||||
#define E2D_INCLUDE_GUARD_27EFFE66AA124FFB862BE95C2FF38017
|
||||
#pragma once
|
||||
|
||||
#include "node.hpp"
|
||||
@@ -46,5 +44,3 @@ namespace e2d
|
||||
return count;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -12,8 +12,8 @@ namespace e2d
|
||||
{
|
||||
class prefab final {
|
||||
public:
|
||||
prefab();
|
||||
~prefab() noexcept;
|
||||
prefab() = default;
|
||||
~prefab() noexcept = default;
|
||||
|
||||
prefab(prefab&& other) noexcept;
|
||||
prefab& operator=(prefab&& other) noexcept;
|
||||
|
||||
@@ -14,8 +14,8 @@ namespace e2d
|
||||
{
|
||||
class sprite final {
|
||||
public:
|
||||
sprite();
|
||||
~sprite() noexcept;
|
||||
sprite() = default;
|
||||
~sprite() noexcept = default;
|
||||
|
||||
sprite(sprite&& other) noexcept;
|
||||
sprite& operator=(sprite&& other) noexcept;
|
||||
|
||||
Reference in New Issue
Block a user