]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/activity/ActivityImpl.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove bmf host model. Add it as an option.
[simgrid.git] / src / kernel / activity / ActivityImpl.hpp
index 5edb48e4ecfb1828bca4449c49ae79edc4242f72..68126bca047ea0a6bbfd0e77b0a74e6e646f4154 100644 (file)
@@ -90,7 +90,7 @@ public:
   // Support for the boost::intrusive_ptr<ActivityImpl> datatype
   friend XBT_PUBLIC void intrusive_ptr_add_ref(ActivityImpl* activity);
   friend XBT_PUBLIC void intrusive_ptr_release(ActivityImpl* activity);
-  int get_refcount() const { return refcount_; } // For debugging purpose
+  int get_refcount() const { return static_cast<int>(refcount_); } // For debugging purpose
 
   static xbt::signal<void(ActivityImpl const&)> on_suspended;
   static xbt::signal<void(ActivityImpl const&)> on_resumed;