Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Useless braces.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 17 Feb 2021 11:05:16 +0000 (12:05 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 17 Feb 2021 13:54:40 +0000 (14:54 +0100)
teshsuite/s4u/activity-lifecycle/activity-lifecycle.hpp

index 6da2b3c..fa9e9c1 100644 (file)
@@ -27,7 +27,7 @@ extern void assert_cleanup();
 #define BEGIN_SECTION(descr) SECTION(descr) { simgrid::s4u::Actor::create(descr, all_hosts[0], []()
 #define END_SECTION })
 
-#define RUN_SECTION(descr, ...) SECTION(descr) { simgrid::s4u::Actor::create(descr, all_hosts[0], __VA_ARGS__); }
+#define RUN_SECTION(descr, ...) SECTION(descr) simgrid::s4u::Actor::create(descr, all_hosts[0], __VA_ARGS__)
 
 // Normally, we should be able use Catch2's REQUIRE_THROWS_AS(...), but it generates errors with Address Sanitizer.
 // They're certainly false positive. Nevermind and use this simpler replacement.