fix stream output for PluginManager AbstractModule classes
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
std::ostream &operator<<(std::ostream &st, const AbstractModule &m) {
st << "=== MODULE " << pluginTypeToStr(m._moduleType) << " ===" << std::endl;
st << "plugins {" << std::endl;
- for (auto p : m._plugins)
- st << " " << p << std::endl;
+ for (const auto &p : m._plugins)
+ st << " " << *p << std::endl;
st << "}" << std::endl;
return st;
}
std::ostream &operator<<(std::ostream &st, const PluginManager &mod) {
for (const auto &pl : mod._plugins)
- st << pl << std::endl;
+ st << *pl << std::endl;
return st;
}