Clean-up: clang-tidy autofixes to eventfd and file-descriptor
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 18 Apr 2023 21:57:46 +0000 (17:57 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 20 Apr 2023 21:01:21 +0000 (17:01 -0400)
commitb4853cf42d4edb25351a1c772961534ecae458c2
tree7b1b920c641f28132ab0e1f4fd3d0c2bae53b65b
parent1098ec7b02bbfd71e0b84f79f86212173831652f
Clean-up: clang-tidy autofixes to eventfd and file-descriptor

eventfd must be marked explicit to prevent erroneous implicit
conversions.

A destructor is provided since other special member functions are
defined (see cppcoreguidelines-special-member-functions).

file_descriptor's constructor is replaced by a trivial constructor.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I1623a2f8db0d613201a534293f5e1476b779283c
src/common/eventfd.hpp
src/common/file-descriptor.cpp
src/common/file-descriptor.hpp
This page took 0.025217 seconds and 4 git commands to generate.