aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEik Brauer <ebrauer@google.com>2016-02-02 17:07:01 +0100
committerEik Brauer <ebrauer@google.com>2016-02-02 17:07:01 +0100
commit8aac937ca7051396de370c9d90aeb2393a0dd08d (patch)
tree9adb970f62826f31676f74dec52d2fdf69300b79
parentb415ce2eec78846ec705c983f98a74c9526f3faa (diff)
downloadpiex-8aac937ca7051396de370c9d90aeb2393a0dd08d.tar.gz
Fixes the windows build for Skia.
-rw-r--r--src/piex_types.h3
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.