aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEik Brauer <ebrauer@google.com>2016-02-03 10:27:53 +0100
committerEik Brauer <ebrauer@google.com>2016-02-03 10:27:53 +0100
commit80231bdc4160b7288a63ac28b9a6788ba4d02410 (patch)
treec5693489e1cde28396df3d5c2efe516b4da32124 /src
parentd9edc2d484b22e61a6dcb57d020a660edce12b6c (diff)
downloadpiex-80231bdc4160b7288a63ac28b9a6788ba4d02410.tar.gz
Updates piex to fix windows build.
Diffstat (limited to 'src')
-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.