summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-12-22 14:44:49 -0800
committerLei Zhang <thestig@chromium.org>2015-12-22 14:44:49 -0800
commitba2586d2c0a50df14aa2549a0a841e1d4b9af4b6 (patch)
treed36be5c25b4e31db2ccd7fd1a28471fee575773d /samples
parentbe9095d0b2819cdc88785b0b4fdfccf837eb96a9 (diff)
downloadpdfium-ba2586d2c0a50df14aa2549a0a841e1d4b9af4b6.tar.xz
Start using allowed C++11 features.
R=dml@google.com, thakis@chromium.org Review URL: https://codereview.chromium.org/1544923002 .
Diffstat (limited to 'samples')
-rw-r--r--samples/image_diff.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/image_diff.cc b/samples/image_diff.cc
index 88a3956d09..d24652910f 100644
--- a/samples/image_diff.cc
+++ b/samples/image_diff.cc
@@ -80,8 +80,8 @@ class Image {
fclose(f);
- if (!image_diff_png::DecodePNG(&compressed[0], compressed.size(),
- &data_, &w_, &h_)) {
+ if (!image_diff_png::DecodePNG(compressed.data(), compressed.size(), &data_,
+ &w_, &h_)) {
Clear();
return false;
}