diff options
author | Eik Brauer <ebrauer@google.com> | 2016-02-02 17:07:01 +0100 |
---|---|---|
committer | Eik Brauer <ebrauer@google.com> | 2016-02-02 17:07:01 +0100 |
commit | 8aac937ca7051396de370c9d90aeb2393a0dd08d (patch) | |
tree | 9adb970f62826f31676f74dec52d2fdf69300b79 | |
parent | b415ce2eec78846ec705c983f98a74c9526f3faa (diff) | |
download | piex-8aac937ca7051396de370c9d90aeb2393a0dd08d.tar.gz |
Fixes the windows build for Skia.
-rw-r--r-- | src/piex_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/piex_types.h b/src/piex_types.h index 6b294bd..f7c4d3e 100644 --- a/src/piex_types.h +++ b/src/piex_types.h @@ -19,6 +19,7 @@ #include <cstdint> #include <string> +#include <vector> namespace piex { @@ -81,7 +82,7 @@ struct PreviewImageData { // Hint for the mosaic pattern dimension of the RAW image data. (0, 0) implies // that no mosaic info found. It is valid for DNG, NEF and NRW files. - std::uint32_t cfa_pattern_dim[2] = {0, 0}; + std::vector<std::uint32_t> cfa_pattern_dim = std::vector<std::uint32_t>(2, 0); }; // Defines the StreamInterface that needs to be implemented by the client. |