Skip to content

Commit 53347a4

Browse files
committed
Fix a regression error
1 parent 005efc5 commit 53347a4

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
- Remove unused member from `fs::Path`
1313
- Make `fs::Path` a `static` only class (cannot be constructed)
14+
- Fixed a regression error with `fs::LocationScope`
1415

1516
# Version 1.4.0
1617

libraries/FsAPI/include/fs/FileObject.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class FileObject : public api::ExecutionContext, public FileInfoFlags {
146146

147147
public:
148148
explicit LocationScope(const FileObject &object)
149-
: m_resource({&object, object.location()}) {}
149+
: m_resource({&object, object.location()}, &deleter) {}
150150
};
151151

152152
using LocationGuard = LocationScope;

0 commit comments

Comments
 (0)