Applying scope to constructors when the scope is the class itself is
From: Erik Hovland <erik@hovland.org>
dangerous territory for the C++ standard. That scoping should be
avoided. Use only the ctor itself like a function.
---
libs/libmyth/mythmediamonitor.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libs/libmyth/mythmediamonitor.cpp b/libs/libmyth/mythmediamonitor.cpp
index 2f1a70d..6fe8fd2 100644
a
|
b
|
MediaMonitor::MediaMonitor(QObject* par, unsigned long interval, |
270 | 270 | if (ignore.length()) |
271 | 271 | m_IgnoreList = QStringList::split(',', ignore); |
272 | 272 | else |
273 | | m_IgnoreList = QStringList::QStringList(); // Force empty list |
| 273 | m_IgnoreList = QStringList(); // Force empty list |
274 | 274 | |
275 | 275 | if (m_StartThread) |
276 | 276 | VERBOSE(VB_MEDIA, "Creating MediaMonitor, SendEvents=" |