mirror of
https://github.com/red0124/ssp.git
synced 2025-04-20 18:47:57 +02:00
update converter.hpp to work with gcc, add uninstall to makefile
This commit is contained in:
parent
1f502d2afa
commit
6b9639afc8
@ -307,15 +307,6 @@ class converter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
template <>
|
|
||||||
void extract_one<std::string>(std::string& dst, const string_range msg,
|
|
||||||
size_t) {
|
|
||||||
SS_RETURN_ON_INVALID;
|
|
||||||
extract(msg.first, msg.second, dst);
|
|
||||||
}
|
|
||||||
|
|
||||||
#undef SS_RETURN_ON_INVALID
|
|
||||||
|
|
||||||
template <size_t ArgN, size_t TupN, typename... Ts>
|
template <size_t ArgN, size_t TupN, typename... Ts>
|
||||||
void extract_multiple(no_void_validator_tup_t<Ts...>& tup,
|
void extract_multiple(no_void_validator_tup_t<Ts...>& tup,
|
||||||
const split_input& elems) {
|
const split_input& elems) {
|
||||||
@ -358,4 +349,13 @@ class converter {
|
|||||||
std::string error_;
|
std::string error_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template <>
|
||||||
|
void converter::extract_one<std::string>(std::string& dst,
|
||||||
|
const string_range msg, size_t) {
|
||||||
|
SS_RETURN_ON_INVALID;
|
||||||
|
extract(msg.first, msg.second, dst);
|
||||||
|
}
|
||||||
|
|
||||||
|
#undef SS_RETURN_ON_INVALID
|
||||||
|
|
||||||
} /* ss */
|
} /* ss */
|
||||||
|
Loading…
Reference in New Issue
Block a user