From 5bc849f6065971eb92e7a7696b13d90d9add2d9c Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Tue, 25 Sep 2018 14:21:50 -0700 Subject: Add noexcept to move constructors and assignment operators. Bug: 116614593 Test: build with WITH_TIDY=1 Change-Id: I47101c362198665194f8b3248751caaa7da32505 --- libs/gui/FrameTimestamps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/gui/FrameTimestamps.cpp') diff --git a/libs/gui/FrameTimestamps.cpp b/libs/gui/FrameTimestamps.cpp index a379ad6306..85ae433e42 100644 --- a/libs/gui/FrameTimestamps.cpp +++ b/libs/gui/FrameTimestamps.cpp @@ -621,7 +621,7 @@ status_t FrameEventsDelta::unflatten(void const*& buffer, size_t& size, // ============================================================================ FrameEventHistoryDelta& FrameEventHistoryDelta::operator=( - FrameEventHistoryDelta&& src) { + FrameEventHistoryDelta&& src) noexcept { mCompositorTiming = src.mCompositorTiming; if (CC_UNLIKELY(!mDeltas.empty())) { -- cgit v1.2.3-59-g8ed1b