refactor: replace all typedef with using (#10594)

This commit is contained in:
Kamikadze 2025-05-31 18:02:02 +05:00 committed by GitHub
parent af2fdb5d58
commit 4078e1d17c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 31 additions and 31 deletions

View file

@ -411,7 +411,7 @@ static void snapResize(double& start, double& end, const double P) {
start = P;
}
typedef std::function<void(double&, double&, const double)> SnapFn;
using SnapFn = std::function<void(double&, double&, const double)>;
static void performSnap(Vector2D& sourcePos, Vector2D& sourceSize, PHLWINDOW DRAGGINGWINDOW, const eMouseBindMode MODE, const int CORNER, const Vector2D& BEGINSIZE) {
static auto SNAPWINDOWGAP = CConfigValue<Hyprlang::INT>("general:snap:window_gap");