Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
petting sonar as every night before bed
authorMartin Quinson <martin.quinson@loria.fr>
Thu, 23 Mar 2017 22:28:16 +0000 (23:28 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Thu, 23 Mar 2017 22:28:16 +0000 (23:28 +0100)
examples/s4u/actor-create/s4u_actor-create.cpp
include/simgrid/s4u/ConditionVariable.hpp
src/smpi/smpi_op.cpp
src/surf/trace_mgr.hpp

index 61bfedd..f4146a5 100644 (file)
@@ -7,7 +7,7 @@
  *
  * The first step is to declare the code of your actors (what they do exactly does not matter to this example) and then
  * you ask SimGrid to start your actors. There is three ways of doing so:
- *  - Directly, by instantiating your actor as paramter to Actor::create();
+ *  - Directly, by instantiating your actor as paramter to Actor::create()
  *  - By first registering your actors before instantiating it;
  *  - Through the deployment file.
  *
index 2ccf89d..c087a0e 100644 (file)
@@ -35,7 +35,7 @@ XBT_PUBLIC_CLASS ConditionVariable
 private:
   friend s_smx_cond;
   smx_cond_t cond_;
-  ConditionVariable(smx_cond_t cond) : cond_(cond) {}
+  explicit ConditionVariable(smx_cond_t cond) : cond_(cond) {}
 public:
   ConditionVariable(ConditionVariable const&) = delete;
   ConditionVariable& operator=(ConditionVariable const&) = delete;
index 5ef1068..5d3136e 100644 (file)
@@ -190,6 +190,7 @@ static void replace_func(void *a, void *b, int *length, MPI_Datatype * datatype)
 
 static void no_func(void *a, void *b, int *length, MPI_Datatype * datatype)
 {
+  /* obviously a no-op */
 }
 
 #define CREATE_MPI_OP(name, func)                             \
index ac19633..3b4761a 100644 (file)
@@ -41,7 +41,7 @@ XBT_PUBLIC(void) tmgr_trace_event_unref(tmgr_trace_iterator_t *trace_event);
 XBT_PUBLIC(void) tmgr_finalize(void);
 
 XBT_PUBLIC(tmgr_trace_t) tmgr_trace_new_from_file(const char* filename);
-XBT_PUBLIC(tmgr_trace_t) tmgr_trace_new_from_string(const char* id, std::string, double periodicity);
+XBT_PUBLIC(tmgr_trace_t) tmgr_trace_new_from_string(const char* id, std::string input, double periodicity);
 
 SG_END_DECL()