summaryrefslogtreecommitdiff
path: root/database.cpp
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2022-09-26 17:07:52 -0400
committerGlenn Smith <glenn@vector35.com>2022-09-29 21:02:25 -0400
commit571d4ed2f01c1117237b1a9684ad9b1d1ad8963a (patch)
treed63530c2510fc123496e7550625e7ebfc8c594f5 /database.cpp
parentb6442a914783cb2861ff8d1cd6a3865fed29e0f7 (diff)
DebugInfo: make parseInfo have a progress callback
This will enable us to have progress bars and cancellation of debuginfo application
Diffstat (limited to 'database.cpp')
-rw-r--r--database.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/database.cpp b/database.cpp
index 326b57f2..ba20e02b 100644
--- a/database.cpp
+++ b/database.cpp
@@ -25,19 +25,6 @@ using namespace Json;
using namespace std;
-struct ProgressContext
-{
- std::function<bool(size_t, size_t)> callback;
-};
-
-
-bool ProgressCallback(void* ctxt, size_t current, size_t total)
-{
- ProgressContext* pctxt = reinterpret_cast<ProgressContext*>(ctxt);
- return pctxt->callback(current, total);
-}
-
-
KeyValueStore::KeyValueStore()
{
m_object = BNCreateKeyValueStore();