Fix compilation issue when using clang.
Without this change, I get the following error when compiling:
error: chosen constructor is explicit in copy-initialization
Change-Id: I8bfa20e86620a068e35669f5931d5e06c22ad988
Reviewed-on: https://pdfium-review.googlesource.com/c/45870
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/core/fxcrt/fx_coordinates.cpp b/core/fxcrt/fx_coordinates.cpp
index fabde1e..fbacb5d 100644
--- a/core/fxcrt/fx_coordinates.cpp
+++ b/core/fxcrt/fx_coordinates.cpp
@@ -302,7 +302,7 @@
std::tuple<float, float, float, float, float, float> CFX_Matrix::AsTuple()
const {
- return {a, b, c, d, e, f};
+ return std::make_tuple(a, b, c, d, e, f);
}
CFX_Matrix CFX_Matrix::GetInverse() const {