From 9262278979709181414664053523657355762707 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Thu, 24 Apr 2025 14:46:37 -0400 Subject: std::function ==> ProgressFunction --- update.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'update.cpp') diff --git a/update.cpp b/update.cpp index a1ad18ad..7fe2eec7 100644 --- a/update.cpp +++ b/update.cpp @@ -27,7 +27,7 @@ using namespace std; namespace BinaryNinja { struct UpdateProgress { - function func; + ProgressFunction func; static bool UpdateCallback(void* ctxt, size_t progress, size_t total) { @@ -90,7 +90,7 @@ BNUpdateResult UpdateChannel::UpdateToVersion(const string& version) BNUpdateResult UpdateChannel::UpdateToVersion( - const string& version, const function& progress) + const string& version, const ProgressFunction& progress) { UpdateProgress up; up.func = progress; @@ -116,7 +116,7 @@ BNUpdateResult UpdateChannel::UpdateToLatestVersion() } -BNUpdateResult UpdateChannel::UpdateToLatestVersion(const function& progress) +BNUpdateResult UpdateChannel::UpdateToLatestVersion(const ProgressFunction& progress) { UpdateProgress up; up.func = progress; -- cgit v1.3.1