Skip to content

Commit

Permalink
Update CppExecutor.java
Browse files Browse the repository at this point in the history
fixed compilation Command
  • Loading branch information
polischuks authored Nov 16, 2023
1 parent 833d52c commit 474958a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public CppExecutor(String sourceName) {

@Override
protected List<String> compilationCommand() {
return List.of("g++", "-std", "c++20", "-pipe", "-O2", "-static", "-o", filename, runnable.getFile().getName());
return List.of("g++", "-std=c++20", "-pipe", "-O2", "-static", "-o", filename, runnable.getFile().getName());
}

@Override
Expand Down

0 comments on commit 474958a

Please sign in to comment.