fix: std::bind_front
not supporting member functions everywhere
This commit is contained in:
parent
c2aafb14c2
commit
ca3708df71
@ -227,7 +227,7 @@ namespace hex::plugin::builtin {
|
||||
m_data = m_file.readVectorAtomic(0x00, m_fileSize);
|
||||
if (!m_data.empty()) {
|
||||
m_changeTracker = wolv::io::ChangeTracker(m_file);
|
||||
m_changeTracker.startTracking(std::bind_front(FileProvider::handleFileChange, this));
|
||||
m_changeTracker.startTracking([this]{ this->handleFileChange(); });
|
||||
m_file.close();
|
||||
m_loadedIntoMemory = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user