X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/290e19f26b10dc49485d7d7b06859edff32fd1e1..91bb77753278264baf1acecdfe389ff7e2fcd270:/src/surf/cpu_interface.hpp diff --git a/src/surf/cpu_interface.hpp b/src/surf/cpu_interface.hpp index de6859aae9..045e6fe567 100644 --- a/src/surf/cpu_interface.hpp +++ b/src/surf/cpu_interface.hpp @@ -17,7 +17,6 @@ class CpuModel; typedef CpuModel *CpuModelPtr; class Cpu; -typedef Cpu *CpuPtr; class CpuAction; typedef CpuAction *CpuActionPtr; @@ -105,7 +104,7 @@ public: /** @ingroup SURF_cpu_interface * @brief SURF cpu resource interface class -* @details A Cpu represent a cpu associated to a workstation +* @details A Cpu represent a cpu associated to a host */ XBT_PUBLIC_CLASS Cpu : public Resource { public: @@ -223,7 +222,7 @@ public: * @details A CpuAction represent the execution of code on a Cpu */ XBT_PUBLIC_CLASS CpuAction : public Action { -friend CpuPtr getActionCpu(CpuActionPtr action); +friend XBT_PUBLIC(CpuPtr) getActionCpu(CpuActionPtr action); public: /** * @brief CpuAction constructor