From 7f8b1de998e196e7b770d03bb674012b3730af1f Mon Sep 17 00:00:00 2001 From: dokutan <54861821+dokutan@users.noreply.github.com> Date: Mon, 8 Feb 2021 08:06:43 +0100 Subject: [PATCH] Update comments --- include/rd_mouse.cpp | 14 +------------- include/rd_mouse.h | 2 +- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/include/rd_mouse.cpp b/include/rd_mouse.cpp index 87c1e28..28225a1 100644 --- a/include/rd_mouse.cpp +++ b/include/rd_mouse.cpp @@ -18,18 +18,6 @@ #include "rd_mouse.h" -/* -template< typename V, size_t I = std::variant_size_v-1, typename F > void variant_loop(F fn){ - - V var = V(std::in_place_index); - std::visit( fn, var ); - - if constexpr ( I > 0 ){ - variant_loop< V, I-1, F >(fn); - } -} -*/ - rd_mouse::mouse_variant rd_mouse::detect(){ rd_mouse::mouse_variant mouse = rd_mouse::monostate(); @@ -1023,4 +1011,4 @@ uint8_t rd_mouse::_i_encode_report_rate( rd_mouse::rd_report_rate report_rate ){ } return return_value; -} \ No newline at end of file +} diff --git a/include/rd_mouse.h b/include/rd_mouse.h index 4038352..fb85af1 100644 --- a/include/rd_mouse.h +++ b/include/rd_mouse.h @@ -36,7 +36,7 @@ #include #include -/* These declarations exist to make it possible for rd_mouse::detect() +/* These declarations exist to make it possible for mouse_variant * to use these classes. */ class mouse_generic;