mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-29 12:50:28 +00:00
Slightly improves syntax.
This commit is contained in:
parent
346d80e30b
commit
99229df017
@ -1083,8 +1083,7 @@ template <bool has_fdc> class ConcreteMachine:
|
|||||||
if(typer_) {
|
if(typer_) {
|
||||||
typer_->append(string);
|
typer_->append(string);
|
||||||
} else {
|
} else {
|
||||||
std::unique_ptr<CharacterMapper> mapper(new CharacterMapper());
|
Utility::TypeRecipient::add_typer(string, std::make_unique<CharacterMapper>());
|
||||||
Utility::TypeRecipient::add_typer(string, std::move(mapper));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user