C to std::function
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
e9896d1f99
commit
e82be13b73
@ -1527,7 +1527,7 @@ bool asciiToUtf8(std::string& /*str*/) {
|
||||
return true;
|
||||
}
|
||||
|
||||
using ConvFct = bool (*)(std::string& str);
|
||||
using ConvFct = std::function<bool(std::string&)>;
|
||||
|
||||
struct ConvFctList {
|
||||
bool operator==(const std::pair<const char*, const char*>& fromTo) const {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user