summaryrefslogtreecommitdiffstats
path: root/libutils/include/utils/FileMap.h
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-09-25 11:16:22 -0700
committerChih-hung Hsieh <chh@google.com>2018-10-05 16:43:47 +0000
commit747eb149d06d9077e7b44aa1edd966e637386f33 (patch)
treef64bdec4eba3c79bcb6dd1da72e948da5e3a08f6 /libutils/include/utils/FileMap.h
parent5f2a21d244be6cbbc64047474b0aca352f93b2d9 (diff)
downloadsystem_core-747eb149d06d9077e7b44aa1edd966e637386f33.tar.gz
system_core-747eb149d06d9077e7b44aa1edd966e637386f33.tar.bz2
system_core-747eb149d06d9077e7b44aa1edd966e637386f33.zip
Add noexcept to move constructors and assignment operators.
Bug: 116614593 Test: build with WITH_TIDY=1 Change-Id: I5a7461386946ca623ab509609092aa0ac8418b80
Diffstat (limited to 'libutils/include/utils/FileMap.h')
-rw-r--r--libutils/include/utils/FileMap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libutils/include/utils/FileMap.h b/libutils/include/utils/FileMap.h
index 8d402a3c2..f9f8f3c60 100644
--- a/libutils/include/utils/FileMap.h
+++ b/libutils/include/utils/FileMap.h
@@ -52,8 +52,8 @@ class FileMap {
public:
FileMap(void);
- FileMap(FileMap&& f);
- FileMap& operator=(FileMap&& f);
+ FileMap(FileMap&& f) noexcept;
+ FileMap& operator=(FileMap&& f) noexcept;
/*
* Create a new mapping on an open file.