Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
typo in comments
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 20 Jul 2015 15:17:48 +0000 (17:17 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 20 Jul 2015 15:17:48 +0000 (17:17 +0200)
src/include/surf/surf.h
src/surf/vm_interface.cpp

index abc095a..1dee691 100644 (file)
@@ -193,7 +193,6 @@ static inline void *surf_storage_resource_by_name(const char *name){
   return xbt_lib_get_elm_or_null(storage_lib, name);
 }
 
-
 XBT_PUBLIC(void *) surf_as_cluster_get_backbone(AS_t as);
 XBT_PUBLIC(void) surf_as_cluster_set_backbone(AS_t as, void* backbone);
 
index 7d43b69..a76652d 100644 (file)
@@ -1,5 +1,4 @@
-/* Copyright (c) 2013-2014. The SimGrid Team.
- * All rights reserved.                                                     */
+/* Copyright (c) 2013-2015. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -41,14 +40,13 @@ VM::VM(Model *model, const char *name, xbt_dict_t props,
 }
 
 /*
- * A physical host does not disapper in the current SimGrid code, but a VM may
- * disapper during a simulation.
+ * A physical host does not disappear in the current SimGrid code, but a VM may
+ * disappear during a simulation.
  */
 VM::~VM()
 {
   surf_callback_emit(VMDestructedCallbacks, this);
-  VMModel::ws_vms.erase(VMModel::
-                                   vm_list_t::s_iterator_to(*this));
+  VMModel::ws_vms.erase(VMModel::vm_list_t::s_iterator_to(*this));
 }
 
 void VM::setState(e_surf_resource_state_t state){
@@ -57,7 +55,7 @@ void VM::setState(e_surf_resource_state_t state){
 }
 
 /*
- * A surf level object will be useless in the upper layer. Returing the
+ * A surf level object will be useless in the upper layer. Returning the
  * dict_elm of the host.
  **/
 surf_resource_t VM::getPm()