Update comments
This commit is contained in:
parent
f4fe6eb213
commit
7f8b1de998
2 changed files with 2 additions and 14 deletions
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue