performancedb: Maintenance
default ctor, dtor
This commit is contained in:
parent
f5acb22929
commit
1998ffce84
2 changed files with 3 additions and 16 deletions
|
@ -18,15 +18,6 @@
|
|||
|
||||
using std::string;
|
||||
|
||||
PerformanceDB::PerformanceDB()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
PerformanceDB::~PerformanceDB()
|
||||
{
|
||||
}
|
||||
|
||||
void PerformanceDB::init()
|
||||
{
|
||||
SGPath dbpath( globals->get_fg_root() );
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef PERFORMANCEDB_HXX
|
||||
#define PERFORMANCEDB_HXX
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
@ -22,8 +21,8 @@ class SGPath;
|
|||
class PerformanceDB : public SGSubsystem
|
||||
{
|
||||
public:
|
||||
PerformanceDB();
|
||||
virtual ~PerformanceDB();
|
||||
PerformanceDB() = default;
|
||||
virtual ~PerformanceDB() = default;
|
||||
|
||||
// Subsystem API.
|
||||
void init() override;
|
||||
|
@ -48,7 +47,6 @@ private:
|
|||
|
||||
void registerPerformanceData(const std::string& id, PerformanceData* data);
|
||||
|
||||
|
||||
typedef std::map<std::string, PerformanceData*> PerformanceDataDict;
|
||||
PerformanceDataDict _db;
|
||||
|
||||
|
@ -60,5 +58,3 @@ private:
|
|||
/// partial matches when merging - the first matching alias is used.
|
||||
std::vector<StringPair> _aliases;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue