Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class BlockDevice
- {
- virtual std::string GetStreamLabel() const = 0;
- virtual std::string GetStreamName() const = 0;
- };
- main()
- {
- std::vector<shared_ptr<BlockDevice>> blockDevices;
- for (const auto& blkDevice : blockDevices)
- {
- string label = blkDevice->GetStreamLabel();
- string stringname = blkDevice->GetStreamName();
- }
- }
- 'GetStreamLabel': is not a member of 'std::shared_ptr<ScopeEngine::BlockDevice>'
- 'GetStreamName': is not a member of 'std::shared_ptr<ScopeEngine::BlockDevice>'
Add Comment
Please, Sign In to add comment