Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Obey some of our coding standard
[simgrid.git] / src / plugins / host_dvfs.cpp
index b46ed2d0003c858bf13120a8b134d356f529b336..8082018af36c78792ca764229ab62e1eb47fc1b4 100644 (file)
@@ -414,7 +414,7 @@ static void on_host_added(simgrid::s4u::Host& host)
       }
     }();
 
-    while (1) {
+    while (true) {
       // Sleep *before* updating; important for startup (i.e., t = 0).
       // In the beginning, we want to go with the pstates specified in the platform file
       // (so we sleep first)