diff options
Diffstat (limited to '')
-rw-r--r-- | include/winapi/resource.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/winapi/resource.hpp b/include/winapi/resource.hpp index 3fda73e..2f77d3e 100644 --- a/include/winapi/resource.hpp +++ b/include/winapi/resource.hpp @@ -16,7 +16,7 @@ struct Resource { Resource() = default; - Resource(const void* data, std::size_t nb) : data(data), nb(nb) {} + Resource(const void* data, std::size_t nb) : data{data}, nb{nb} {} Buffer copy() const { return {data, nb}; } |