From 3bb57514867a2bd10ba535e0b06de566a58d8085 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 28 Mar 2017 14:09:43 -0700 Subject: Ensure that CFX_RetainPtr move ctor is used by std::vector. Add a test for one of our types that fails unless this is the case. Mark all our other move ctors as |noexcept|. Change-Id: Ib106f219183d5abf94504af420a43c94b8f40e22 Reviewed-on: https://pdfium-review.googlesource.com/3251 Commit-Queue: Tom Sepez Reviewed-by: dsinclair --- BUILD.gn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'BUILD.gn') diff --git a/BUILD.gn b/BUILD.gn index d327c6093f..6d383510b4 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -79,7 +79,10 @@ config("pdfium_core_config") { } } if (is_win) { - cflags += [ "/wd4267" ] + cflags += [ + "/wd4267", + "/wd4577", + ] } } -- cgit v1.2.3