Update comments

This commit is contained in:
dokutan 2021-02-08 08:06:43 +01:00
parent f4fe6eb213
commit 7f8b1de998
2 changed files with 2 additions and 14 deletions

View file

@ -18,18 +18,6 @@
#include "rd_mouse.h"
/*
template< typename V, size_t I = std::variant_size_v<V>-1, typename F > void variant_loop(F fn){
V var = V(std::in_place_index<I>);
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;
}
}

View file

@ -36,7 +36,7 @@
#include <set>
#include <variant>
/* 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;