Skip to content

Commit

Permalink
Update CLI destructor to use std::filesystem::remove()
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoryKogan committed Dec 16, 2023
1 parent 59eb06f commit 164dfc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CLI/CLI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CLI::CLI() {
file_system_ = FileSystem("cli.fs");
}

CLI::~CLI() { std::remove("cli.fs"); }
CLI::~CLI() { std::filesystem::remove("cli.fs"); }

auto CLI::run() -> void {
std::cout << "Welcome to the File System!\n";
Expand Down

0 comments on commit 164dfc4

Please sign in to comment.