mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
- hddstat.cpp: move init of cHddStat inside geInstance()
This commit is contained in:
@@ -41,10 +41,10 @@
|
||||
#include <driver/record.h>
|
||||
#include <driver/display.h>
|
||||
|
||||
static cHddStat *instance = NULL;
|
||||
|
||||
cHddStat *cHddStat::getInstance(void)
|
||||
{
|
||||
static cHddStat *instance = NULL;
|
||||
|
||||
if (!instance)
|
||||
instance = new cHddStat;
|
||||
return instance;
|
||||
|
Reference in New Issue
Block a user