Skip to content

Commit 8cd07ba

Browse files
committed
cleanuo
1 parent e6a0316 commit 8cd07ba

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

binding/lua_filesystem.cpp

+2-6
Original file line numberDiff line numberDiff line change
@@ -146,17 +146,13 @@ namespace bee::lua_filesystem {
146146
std::unreachable();
147147
}
148148
}
149-
path_ref(const fs::path* ptr)
149+
path_ref(const fs::path* ptr) noexcept
150150
: st { status::ptr }
151151
, ptr { ptr } {}
152-
path_ref(zstring_view str)
152+
path_ref(zstring_view str) noexcept
153153
: st { status::str }
154154
, str { str } {
155155
}
156-
path_ref(fs::path&& val)
157-
: st { status::val }
158-
, val { std::move(val) } {
159-
}
160156
const fs::path* operator->() {
161157
switch (st) {
162158
case status::ptr:

0 commit comments

Comments
 (0)