A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move simgrid::xbt::HeapComparator in xbt/utility.hpp.
[simgrid.git]
/
src
/
surf
/
StorageImpl.hpp
diff --git
a/src/surf/StorageImpl.hpp
b/src/surf/StorageImpl.hpp
index
da1f082
..
b5f52e1
100644
(file)
--- a/
src/surf/StorageImpl.hpp
+++ b/
src/surf/StorageImpl.hpp
@@
-91,7
+91,7
@@
public:
/** @brief Public interface */
s4u::Storage piface_;
/** @brief Public interface */
s4u::Storage piface_;
- static StorageImpl* byName(
const char*
name);
+ static StorageImpl* byName(
std::string
name);
/** @brief Check if the Storage is used (if an action currently uses its resources) */
bool isUsed() override;
/** @brief Check if the Storage is used (if an action currently uses its resources) */
bool isUsed() override;
@@
-165,10
+165,10
@@
private:
/** @ingroup SURF_storage_interface
* @brief The possible type of action for the storage component
*/
/** @ingroup SURF_storage_interface
* @brief The possible type of action for the storage component
*/
-
typedef enum
{
+
enum e_surf_action_storage_type_t
{
READ = 0, /**< Read a file */
WRITE /**< Write in a file */
READ = 0, /**< Read a file */
WRITE /**< Write in a file */
-}
e_surf_action_storage_type_t
;
+};
/** @ingroup SURF_storage_interface
* @brief SURF storage action interface class
/** @ingroup SURF_storage_interface
* @brief SURF storage action interface class