X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/54e35ebda7e4ffacd769653b8ebb8ba93c7298bf..e47d2126ee520f8d88107618c42b84544e91a32c:/src/surf/surf_routing_floyd.cpp diff --git a/src/surf/surf_routing_floyd.cpp b/src/surf/surf_routing_floyd.cpp index adc6a53836..8309a02721 100644 --- a/src/surf/surf_routing_floyd.cpp +++ b/src/surf/surf_routing_floyd.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2009-2014. The SimGrid Team. +/* Copyright (c) 2009-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -15,14 +15,17 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_floyd, surf, "Routing part of surf"); AS_t model_floyd_create(void) { - return new AsFloyd(); + return new simgrid::surf::AsFloyd(); } void model_floyd_end(AS_t current_routing) { - static_cast(current_routing)->end(); + static_cast(current_routing)->end(); } +namespace simgrid { +namespace surf { + AsFloyd::AsFloyd(): AsGeneric() { p_predecessorTable = NULL; p_costTable = NULL; @@ -319,3 +322,6 @@ void AsFloyd::end(){ } } } + +} +}