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_) {
|
||||
typer_->append(string);
|
||||
} else {
|
||||
std::unique_ptr<CharacterMapper> mapper(new CharacterMapper());
|
||||
Utility::TypeRecipient::add_typer(string, std::move(mapper));
|
||||
Utility::TypeRecipient::add_typer(string, std::make_unique<CharacterMapper>());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user