Skip to content

Commit

Permalink
Back to BasicSettings due to performance issues.
Browse files Browse the repository at this point in the history
Signed-off-by: drslebedev <[email protected]>
  • Loading branch information
drslebedev authored and RalphSteinhagen committed Jun 3, 2024
1 parent f748704 commit 2fab62d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/include/gnuradio-4.0/Block.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ class Block : public lifecycle::StateMachine<Derived>, protected std::tuple<Argu
Block(std::initializer_list<std::pair<const std::string, pmtv::pmt>> initParameter) noexcept(false) : Block(property_map(initParameter)) {}

Block(property_map initParameter = {}) noexcept(false) // N.B. throws in case of on contract violations
: _settings(std::make_unique<CtxSettings<Derived>>(*static_cast<Derived *>(this))) { // N.B. safe delegated use of this (i.e. not used during construction)
: _settings(std::make_unique<BasicSettings<Derived>>(*static_cast<Derived *>(this))) { // N.B. safe delegated use of this (i.e. not used during construction)

// check Block<T> contracts
checkBlockContracts<decltype(*static_cast<Derived *>(this))>();
Expand Down

0 comments on commit 2fab62d

Please sign in to comment.