fix ld issue

This commit is contained in:
proddy
2021-03-28 20:09:23 +02:00
parent 4208c3551a
commit ac7003124e
2 changed files with 4 additions and 3 deletions

View File

@@ -48,6 +48,9 @@ std::vector<std::unique_ptr<EMSdevice>> EMSESP::emsdevices; // array of all
std::vector<EMSESP::Device_record> EMSESP::device_library_; // library of all our known EMS devices, in heap std::vector<EMSESP::Device_record> EMSESP::device_library_; // library of all our known EMS devices, in heap
uuid::log::Logger EMSESP::logger_{F_(emsesp), uuid::log::Facility::KERN}; uuid::log::Logger EMSESP::logger_{F_(emsesp), uuid::log::Facility::KERN};
uuid::log::Logger EMSESP::logger() {
return logger_;
}
// The services // The services
RxService EMSESP::rxservice_; // incoming Telegram Rx handler RxService EMSESP::rxservice_; // incoming Telegram Rx handler

View File

@@ -191,9 +191,7 @@ class EMSESP {
static WebDevicesService webDevicesService; static WebDevicesService webDevicesService;
static WebAPIService webAPIService; static WebAPIService webAPIService;
static uuid::log::Logger logger() { static uuid::log::Logger logger();
return logger_;
}
private: private:
EMSESP() = delete; EMSESP() = delete;