Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Sep 8, 2024
1 parent d6ae049 commit 6bc7da1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/bedsidemon/serial_port.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ serial_port::serial_port(std::string_view port_filename, baud_rate baud_rate) :
newtermios.c_cc[VTIME] = 0;

ASSERT(size_t(baud_rate) < size_t(baud_rate::enum_size))
// NOLINTNEXTLINE(cppcoreguidelines-init-variables, "false positive")
speed_t br = baud_rate_map[size_t(baud_rate)];
cfsetospeed(&newtermios, br);
cfsetispeed(&newtermios, br);
Expand Down
1 change: 1 addition & 0 deletions src/bedsidemon/signal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.

namespace utki {

// NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init, "false positive")
class signal
{
public:
Expand Down
1 change: 1 addition & 0 deletions src/bedsidemon/waveform.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class waveform :
virtual public ruis::widget, //
public ruis::color_widget
{
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init, "false positive")
struct path {
ruis::path_vao vao;
ruis::vector2 origin;
Expand Down

0 comments on commit 6bc7da1

Please sign in to comment.