17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-31 05:20:52 +01:00

refactor: change typedef, nullptr, scoped_lock and others

This commit is contained in:
jerrrrycho
2026-09-27 19:31:00 +02:00
parent 8fbb482350
commit b8c9724ca3
42 changed files with 186 additions and 186 deletions

View File

@@ -165,13 +165,13 @@ public:
private:
// types:
typedef std::pair<
using texturetimepoint_pair = std::pair<
opengl_texture *,
resource_timestamp > texturetimepoint_pair;
resource_timestamp >;
typedef std::vector< texturetimepoint_pair > texturetimepointpair_sequence;
using texturetimepointpair_sequence = std::vector< texturetimepoint_pair >;
typedef std::unordered_map<std::string, std::size_t> index_map;
using index_map = std::unordered_map<std::string, std::size_t>;
// methods:
// checks whether specified texture is in the texture bank. returns texture id, or npos.