Clang-tidy-14 fixes
Do as the robot commands. All changes made automatically by tidy.
Tested: (Thanks Zhikui)
Downloaded and run on system. Sensors scan normally.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I752f37c9e7a95aa3be8e6980ba6e4b2b48b3395a
diff --git a/include/FileHandle.hpp b/include/FileHandle.hpp
index 46e5539..a2a75d8 100644
--- a/include/FileHandle.hpp
+++ b/include/FileHandle.hpp
@@ -13,8 +13,8 @@
FileHandle() = delete;
FileHandle(const FileHandle&) = delete;
FileHandle& operator=(const FileHandle&) = delete;
- FileHandle(FileHandle&&) noexcept;
- FileHandle& operator=(FileHandle&&) noexcept;
+ FileHandle(FileHandle&& /*in*/) noexcept;
+ FileHandle& operator=(FileHandle&& /*in*/) noexcept;
explicit FileHandle(const std::filesystem::path& name,
std::ios_base::openmode mode = std::ios_base::in |
@@ -23,5 +23,5 @@
explicit FileHandle(int fd);
~FileHandle();
- int handle();
+ int handle() const;
};
\ No newline at end of file