diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2016-11-21 13:50:32 -0500 |
---|---|---|
committer | dan sinclair <dsinclair@chromium.org> | 2016-11-21 18:51:10 +0000 |
commit | 85c8e7f788512ce5b5b43cd816e8091b57c3d5e7 (patch) | |
tree | e727d747684b9db2632ef250b55046cfce2b55a3 /fpdfsdk/fpdf_dataavail_embeddertest.cpp | |
parent | 7daa6fb286d1b5d65f99521f3314083e86d93e3f (diff) | |
download | pdfium-85c8e7f788512ce5b5b43cd816e8091b57c3d5e7.tar.xz |
Fixup lint flags.
The -build/include setting was masking out build/include_what_you_use. This CL
restores them, fixes any build errors, and adds NOLINT as needed. As well,
the runtime/explicit and runtime/printf flags are aslo enabled and NOLINT'd.
lint cleanups
Change-Id: Ib013b3eb29c8d0e48cad74c5df9028684130719f
Reviewed-on: https://pdfium-review.googlesource.com/2030
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_dataavail_embeddertest.cpp')
-rw-r--r-- | fpdfsdk/fpdf_dataavail_embeddertest.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fpdfsdk/fpdf_dataavail_embeddertest.cpp b/fpdfsdk/fpdf_dataavail_embeddertest.cpp index cc95c1b177..c226a31b8e 100644 --- a/fpdfsdk/fpdf_dataavail_embeddertest.cpp +++ b/fpdfsdk/fpdf_dataavail_embeddertest.cpp @@ -4,7 +4,9 @@ #include <algorithm> #include <memory> +#include <set> #include <string> +#include <utility> #include <vector> #include "public/fpdfview.h" @@ -16,7 +18,7 @@ namespace { class TestAsyncLoader : public FX_DOWNLOADHINTS, FX_FILEAVAIL { public: - TestAsyncLoader(const std::string& file_name) { + explicit TestAsyncLoader(const std::string& file_name) { std::string file_path; if (!PathService::GetTestFilePath(file_name, &file_path)) return; |