Regularize the camera constant store singleton to use a function local static like most other singletons.

This commit is contained in:
Adam Reichold
2015-11-28 12:54:03 +01:00
parent ebe85388a3
commit 68271b9279
3 changed files with 7 additions and 14 deletions

View File

@@ -54,7 +54,7 @@ private:
bool parse_camera_constants_file(Glib::ustring filename);
public:
static void initCameraConstants(Glib::ustring baseDir, Glib::ustring userSettingsDir);
void init(Glib::ustring baseDir, Glib::ustring userSettingsDir);
static CameraConstantsStore *getInstance(void);
CameraConst *get(const char make[], const char model[]);
};