Răsfoiți Sursa

process: minor changes

Michele Caini 2 ani în urmă
părinte
comite
adbcc8dca9
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 3 3
      src/entt/process/process.hpp

+ 3 - 3
src/entt/process/process.hpp

@@ -176,13 +176,13 @@ public:
      * The function is idempotent and it does nothing if the process isn't
      * The function is idempotent and it does nothing if the process isn't
      * alive.
      * alive.
      *
      *
-     * @param immediately Requests an immediate operation.
+     * @param immediate Requests an immediate operation.
      */
      */
-    void abort(const bool immediately = false) {
+    void abort(const bool immediate = false) {
         if(alive()) {
         if(alive()) {
             current = state::aborted;
             current = state::aborted;
 
 
-            if(immediately) {
+            if(immediate) {
                 tick({});
                 tick({});
             }
             }
         }
         }