mirror of
https://github.com/jorenchik/testing-spring-2024.git
synced 2025-10-21 20:10:36 +00:00
11 lines
220 B
C++
11 lines
220 B
C++
#include "role.hh"
|
|
|
|
#include <initializer_list>
|
|
#include <vector>
|
|
|
|
Role::Role(std::initializer_list<Action> actions): Role(std::vector<Action>(actions)) {
|
|
}
|
|
|
|
Role::Role(std::vector<Action> actions): actions(actions) {
|
|
}
|