From 12ab87e38dd389503c6b2738b8d3d085558354eb Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 20 Jul 2015 17:17:48 +0200 Subject: [PATCH] typo in comments --- src/include/surf/surf.h | 1 - src/surf/vm_interface.cpp | 12 +++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/include/surf/surf.h b/src/include/surf/surf.h index abc095a38a..1dee6917be 100644 --- a/src/include/surf/surf.h +++ b/src/include/surf/surf.h @@ -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); diff --git a/src/surf/vm_interface.cpp b/src/surf/vm_interface.cpp index 7d43b69be0..a76652d355 100644 --- a/src/surf/vm_interface.cpp +++ b/src/surf/vm_interface.cpp @@ -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() -- 2.20.1