Ticket #9421: 0001-Fix-no-argument-constructor.patch

File 0001-Fix-no-argument-constructor.patch, 1.3 KB (added by beirdo, 9 years ago)
  • mythtv/libs/libmythdb/mythsystem.cpp

    From 55661dbf7697e8dd9733b88e18bb0c0af742f9e4 Mon Sep 17 00:00:00 2001
    From: Gavin Hurlbut <ghurlbut@mythtv.org>
    Date: Thu, 6 Jan 2011 13:12:33 -0800
    Subject: [PATCH] Fix no-argument constructor.
    
    ---
     mythtv/libs/libmythdb/mythsystem.cpp |    6 ++++++
     mythtv/libs/libmythdb/mythsystem.h   |    2 +-
     2 files changed, 7 insertions(+), 1 deletions(-)
    
    diff --git a/mythtv/libs/libmythdb/mythsystem.cpp b/mythtv/libs/libmythdb/mythsystem.cpp
    index a647d29..01ca269 100644
    a b void MythSystem::initializePrivate(void) 
    4848#endif
    4949}
    5050
     51MythSystem::MythSystem()
     52{
     53    m_semReady.release(1);  // initialize
     54    initializePrivate();
     55}
     56
    5157MythSystem::MythSystem(const QString &command, uint flags)
    5258{
    5359    m_semReady.release(1);  // initialize
  • mythtv/libs/libmythdb/mythsystem.h

    diff --git a/mythtv/libs/libmythdb/mythsystem.h b/mythtv/libs/libmythdb/mythsystem.h
    index e1cd78f..a03f2de 100644
    a b class MPUBLIC MythSystem : public QObject 
    4141    Q_OBJECT
    4242
    4343    public:
    44         MythSystem() {};
     44        MythSystem();
    4545        MythSystem(const QString &, uint);
    4646        MythSystem(const QString &, const QStringList &, uint);
    4747        MythSystem(const MythSystem &other);