summaryrefslogtreecommitdiffstats
path: root/util/system/file_lock.h
diff options
context:
space:
mode:
authorAnton Samokhvalov <[email protected]>2022-02-10 16:45:17 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:45:17 +0300
commitd3a398281c6fd1d3672036cb2d63f842d2cb28c5 (patch)
treedd4bd3ca0f36b817e96812825ffaf10d645803f2 /util/system/file_lock.h
parent72cb13b4aff9bc9cf22e49251bc8fd143f82538f (diff)
Restoring authorship annotation for Anton Samokhvalov <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/file_lock.h')
-rw-r--r--util/system/file_lock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/system/file_lock.h b/util/system/file_lock.h
index 2c0118484fb..b2aaff5baf8 100644
--- a/util/system/file_lock.h
+++ b/util/system/file_lock.h
@@ -4,11 +4,11 @@
#include <util/generic/noncopyable.h>
#include <util/system/file.h>
-enum class EFileLockType {
+enum class EFileLockType {
Exclusive,
Shared
};
-
+
class TFileLock: public TFile {
public:
TFileLock(const TString& filename, const EFileLockType type = EFileLockType::Exclusive);