Basic mutability framework

This commit is contained in:
Dynamitos
2022-01-12 14:40:26 +01:00
parent b2718dde70
commit 6d48267ec2
72 changed files with 1781 additions and 1341 deletions
+2 -2
View File
@@ -28,12 +28,12 @@ public:
std::string getExtension() const;
inline Status getStatus()
{
std::unique_lock lck(lock);
std::scoped_lock lck(lock);
return status;
}
inline void setStatus(Status status)
{
std::unique_lock lck(lock);
std::scoped_lock lck(lock);
this->status = status;
}
protected: