Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Oct 24, 2024
1 parent efb9268 commit 1ef2d52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion test/one_disk_storage_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <simgrid/s4u/Actor.hpp>
#include <simgrid/s4u/Engine.hpp>

#include "fsmod/PathUtil.hpp"
#include "fsmod/FileSystem.hpp"
#include "fsmod/OneDiskStorage.hpp"
#include "fsmod/FileSystemException.hpp"
Expand Down
4 changes: 2 additions & 2 deletions test/register_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ TEST_F(RegisterTest, RetrieveByActor) {
auto hosts = sg4::Engine::get_instance()->get_all_hosts();
int index = 0;
for (const auto& h : hosts) {
sg4::Actor::create("TestActor", h, [this, index]() {
sg4::Actor::create("TestActor", h, [index]() {
std::map<std::string, std::shared_ptr<sgfs::FileSystem>, std::less<>> accessible_file_systems;
std::shared_ptr<sgfs::FileSystem> fs;
std::shared_ptr<sgfs::File> file;
Expand Down Expand Up @@ -119,7 +119,7 @@ TEST_F(RegisterTest, RetrieveByZone) {
}

TEST_F(RegisterTest, NoActor) {
DO_TEST_WITH_FORK([this]() {
DO_TEST_WITH_FORK([]() {
XBT_INFO("Creating a very small platform");
auto *root_zone = sg4::create_full_zone("root_zone");
auto host = root_zone->create_host("my_host", "100Gf");
Expand Down

0 comments on commit 1ef2d52

Please sign in to comment.