1
0
Fork 0

performancedb: Maintenance

default ctor, dtor
This commit is contained in:
Scott Giese 2022-01-15 20:00:00 -06:00
parent f5acb22929
commit 1998ffce84
2 changed files with 3 additions and 16 deletions

View file

@ -18,15 +18,6 @@
using std::string;
PerformanceDB::PerformanceDB()
{
}
PerformanceDB::~PerformanceDB()
{
}
void PerformanceDB::init()
{
SGPath dbpath( globals->get_fg_root() );

View file

@ -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