diff options
| author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-16 18:38:30 +0300 |
|---|---|---|
| committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-16 18:44:21 +0300 |
| commit | 1e5e37a9d1af571e962671db95b23c7cc7ddce6d (patch) | |
| tree | e4b9900e7f4c1973fa4670f5d43a140bc551098a /include/winapi/resource.hpp | |
| parent | update cmake-common (diff) | |
| download | winapi-common-1e5e37a9d1af571e962671db95b23c7cc7ddce6d.tar.gz winapi-common-1e5e37a9d1af571e962671db95b23c7cc7ddce6d.zip | |
remove VS 2013 cruft
Diffstat (limited to 'include/winapi/resource.hpp')
| -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}; } |
