Skip to content

Commit

Permalink
perf: 加个const&
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Dec 5, 2024
1 parent e2ec1c1 commit 09594b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/include/Utils/MicroControl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ inline void micro_swipe(
}

inline void micro_multi_swipe(
std::vector<ControlUnitAPI::SwipeParam> swipes,
const std::vector<ControlUnitAPI::SwipeParam>& swipes,
std::function<void(int, int, int)> touch_down,
std::function<void(int, int, int)> touch_move,
std::function<void(int, int, int)> touch_up)
Expand Down

0 comments on commit 09594b3

Please sign in to comment.