diff options
Diffstat (limited to 'src/bootstrap.cpp')
-rw-r--r-- | src/bootstrap.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bootstrap.cpp b/src/bootstrap.cpp index 0b9d972..12f7369 100644 --- a/src/bootstrap.cpp +++ b/src/bootstrap.cpp @@ -79,6 +79,12 @@ auto bootstrap() noexcept -> yacppdic::DIContainer return std::make_unique<Matrix<char>>(bounds); }); + di_container.bind<IMatrixFactory<ComponentElement>>().to_factory( + [](const Bounds &bounds) + { + return std::make_unique<Matrix<ComponentElement>>(bounds); + }); + di_container.bind<IStatusLineFactory>().to_factory( [&di_container](const Bounds &size) { |