Fix error message.

This commit is contained in:
Sönke Ludwig 2017-08-14 15:14:05 +02:00
parent a63907b9f7
commit 44b43e8415
No known key found for this signature in database
GPG key ID: D95E8DB493EE314C

View file

@ -221,7 +221,7 @@ log("start task");
{
auto f = &m_files[file].read;
if (!safeCAS(f.status, ThreadedFileStatus.idle, ThreadedFileStatus.initiated))
assert(false, "Concurrent file writes are not allowed.");
assert(false, "Concurrent file reads are not allowed.");
assert(f.callback is null, "Concurrent file reads are not allowed.");
f.callback = on_read_finish;
m_activeReads.insert(file);