Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Add std:: namespace for some types
[simgrid.git] / src / mc / Variable.hpp
index 9296f21..804a7a7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2014. The SimGrid Team.
+/* Copyright (c) 2007-2015. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -9,12 +9,15 @@
 
 #include <string>
 
+#include <xbt/base.h>
+
 #include "mc_forward.h"
-#include "mc_location.h"
+#include "mc/LocationList.hpp"
 
 namespace simgrid {
 namespace mc {
 
+/** A variable (global or local) in the model-checked program */
 class Variable {
 public:
   Variable();
@@ -26,7 +29,7 @@ public:
   simgrid::mc::Type* type;
 
   // Use either of:
-  simgrid::mc::LocationList location_list;
+  simgrid::dwarf::LocationList location_list;
   void* address;
 
   size_t start_scope;