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);
|
m_data = m_file.readVectorAtomic(0x00, m_fileSize);
|
||||||
if (!m_data.empty()) {
|
if (!m_data.empty()) {
|
||||||
m_changeTracker = wolv::io::ChangeTracker(m_file);
|
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_file.close();
|
||||||
m_loadedIntoMemory = true;
|
m_loadedIntoMemory = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user