Skip to content

Commit b50e0f0

Browse files
fixed windows compilation error
1 parent 1bdacb2 commit b50e0f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jse/jse.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ namespace jse
229229

230230
if (!skip_file_check && rule.contains("extensions"))
231231
{
232-
std::string ext = p.extension();
232+
std::string ext = p.extension().string();
233233
int count = 0;
234234
for (auto e : rule["extensions"])
235235
if (e == ext)

0 commit comments

Comments
 (0)