diff options
Diffstat (limited to 'generator/role.h')
-rw-r--r-- | generator/role.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generator/role.h b/generator/role.h index 4884ef3..fccfa98 100644 --- a/generator/role.h +++ b/generator/role.h | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | #include <stdexcept> | 4 | #include <stdexcept> |
5 | #include <string> | 5 | #include <string> |
6 | #include "../lib/selrestr.h" | 6 | #include <set> |
7 | 7 | ||
8 | namespace verbly { | 8 | namespace verbly { |
9 | 9 | ||
@@ -18,7 +18,7 @@ namespace verbly { | |||
18 | 18 | ||
19 | role( | 19 | role( |
20 | std::string name, | 20 | std::string name, |
21 | selrestr selrestrs = {}) : | 21 | std::set<std::string> selrestrs = {}) : |
22 | valid_(true), | 22 | valid_(true), |
23 | name_(name), | 23 | name_(name), |
24 | selrestrs_(selrestrs) | 24 | selrestrs_(selrestrs) |
@@ -37,7 +37,7 @@ namespace verbly { | |||
37 | return name_; | 37 | return name_; |
38 | } | 38 | } |
39 | 39 | ||
40 | const selrestr& getSelrestrs() const | 40 | const std::set<std::string>& getSelrestrs() const |
41 | { | 41 | { |
42 | if (!valid_) | 42 | if (!valid_) |
43 | { | 43 | { |
@@ -51,7 +51,7 @@ namespace verbly { | |||
51 | 51 | ||
52 | bool valid_ = false; | 52 | bool valid_ = false; |
53 | std::string name_; | 53 | std::string name_; |
54 | selrestr selrestrs_; | 54 | std::set<std::string> selrestrs_; |
55 | 55 | ||
56 | }; | 56 | }; |
57 | 57 | ||