mirror of
https://github.com/esphome/esphome.git
synced 2024-11-15 03:28:12 +01:00
Readded NOLINT.
This commit is contained in:
parent
b9bb4a7a65
commit
761b0bf2dc
2 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
namespace esphome {
|
namespace esphome {
|
||||||
namespace camera {
|
namespace camera {
|
||||||
|
|
||||||
|
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
|
||||||
Camera *Camera::global_camera = nullptr;
|
Camera *Camera::global_camera = nullptr;
|
||||||
|
|
||||||
Camera::Camera() { global_camera = this; }
|
Camera::Camera() { global_camera = this; }
|
||||||
|
|
|
@ -69,6 +69,7 @@ class Camera : public EntityBase {
|
||||||
virtual void stop_stream(CameraRequester requester) = 0;
|
virtual void stop_stream(CameraRequester requester) = 0;
|
||||||
virtual ~Camera() {}
|
virtual ~Camera() {}
|
||||||
/// The singleton instance of the camera implementation.
|
/// The singleton instance of the camera implementation.
|
||||||
|
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
|
||||||
static Camera *global_camera;
|
static Camera *global_camera;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue