refactor(DirectiveValue): add TODO comment for constructor
This commit is contained in:
parent
9b7f50cc04
commit
42daf68ee2
@ -28,7 +28,7 @@ using DirectiveValueType = std::variant<int, // listen, error_page status, cgi_t
|
|||||||
class DirectiveValue
|
class DirectiveValue
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DirectiveValue(DirectiveValueType value) : value_(std::move(value)) {}
|
DirectiveValue(DirectiveValueType value) : value_(std::move(value)) {} //TODO foei
|
||||||
|
|
||||||
template <typename T> T get() const { return std::get<T>(value_); }
|
template <typename T> T get() const { return std::get<T>(value_); }
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user