mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-05 14:20:03 -05:00
Move maintainence thread func take u64 rather than int
signed rollover is UB
This commit is contained in:
parent
78e60fb07b
commit
b42e0bc714
3 changed files with 8 additions and 6 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "base_types.h"
|
||||
|
||||
#include <functional>
|
||||
#include <vector>
|
||||
|
||||
|
|
@ -9,5 +11,5 @@ class MaintenanceThread
|
|||
public:
|
||||
static void setup();
|
||||
static void stop();
|
||||
static void push_job(const std::function<void(int)> &func);
|
||||
static void push_job(const std::function<void(u64)> &func);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue