-/* Copyright (c) 2019. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2019-2020. 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. */
#include "src/kernel/resource/DiskImpl.hpp"
namespace simgrid {
-namespace xbt {
-template class Extendable<s4u::Disk>;
-} // namespace xbt
+
+template class xbt::Extendable<s4u::Disk>;
namespace s4u {
return this->pimpl_->get_read_bandwidth();
}
-double Disk::get_write_bandwidth()
+double Disk::get_write_bandwidth() const
{
return pimpl_->get_write_bandwidth();
}
-Host* Disk::get_host()
+Host* Disk::get_host() const
{
return pimpl_->get_host();
}