Skip to content

Commit 0c96f70

Browse files
committed
Engine: Make blockSectionContainer() public
* public in Engine (implementation), not IEngine
1 parent 753d1ae commit 0c96f70

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/engine/engine.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,16 @@ class Engine : public IEngine
7171

7272
const std::unordered_map<std::shared_ptr<Block>, std::shared_ptr<Script>> &scripts() const override;
7373

74+
BlockSectionContainer *blockSectionContainer(const std::string &opcode) const;
75+
BlockSectionContainer *blockSectionContainer(IBlockSection *section) const;
76+
7477
private:
7578
std::shared_ptr<Block> getBlock(const std::string &id);
7679
std::shared_ptr<Variable> getVariable(const std::string &id);
7780
std::shared_ptr<List> getList(const std::string &id);
7881
std::shared_ptr<Broadcast> getBroadcast(const std::string &id);
7982
std::shared_ptr<Entity> getEntity(const std::string &id);
8083
std::shared_ptr<IBlockSection> blockSection(const std::string &opcode) const;
81-
BlockSectionContainer *blockSectionContainer(const std::string &opcode) const;
82-
BlockSectionContainer *blockSectionContainer(IBlockSection *section) const;
8384

8485
std::unordered_map<std::shared_ptr<IBlockSection>, std::unique_ptr<BlockSectionContainer>> m_sections;
8586
std::vector<std::shared_ptr<Target>> m_targets;

0 commit comments

Comments
 (0)