common: add missing <memory> include in common_types.h

Adds missing <memory> header include in common_types.h. This header is
needed for std::unique_ptr and other smart pointer types that may be used
by code including this header.
This commit is contained in:
Zephyron 2025-02-01 21:47:55 +10:00
parent 076d0e618d
commit 70a9f20ae1
No known key found for this signature in database
GPG key ID: 2177ADED8AC966AF

View file

@ -30,6 +30,7 @@
#include <array> #include <array>
#include <cstdint> #include <cstdint>
#include <memory>
using u8 = std::uint8_t; ///< 8-bit unsigned byte using u8 = std::uint8_t; ///< 8-bit unsigned byte
using u16 = std::uint16_t; ///< 16-bit unsigned short using u16 = std::uint16_t; ///< 16-bit unsigned short