]> AND Public Git Repository - simgrid.git/blobdiff - include/simgrid/Exception.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill redundant blank lines.
[simgrid.git] / include / simgrid / Exception.hpp
index fa3d7aa1fbf4456ab7ba97ebb5538c652513aacf..a5b0cd9968b053d61e21f94ef55f6e0cf833dad4 100644 (file)
@@ -93,8 +93,8 @@ public:
   xbt::ThrowPoint const& throw_point() const { return throwpoint_; }
 
   /** Allow to carry a value (used by testany/waitany) */
-  int get_value() const { return value_; }
-  void set_value(int value) { value_ = value; }
+  ssize_t get_value() const { return value_; }
+  void set_value(ssize_t value) { value_ = value; }
 
   std::string resolve_backtrace() const { return throwpoint_.backtrace_.resolve(); }
 
@@ -105,7 +105,7 @@ public:
 
 private:
   xbt::ThrowPoint throwpoint_;
-  int value_ = 0;
+  ssize_t value_ = 0;
 };
 
 #define DECLARE_SIMGRID_EXCEPTION(AnyException, ...)                                                                   \