diff options
Diffstat (limited to 'database.cpp')
| -rw-r--r-- | database.cpp | 13 |
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(); |
