mirror of
https://github.com/esphome/esphome.git
synced 2025-09-06 13:22:19 +01:00
fix: correct stringview to string_view in dynamic_lamp component
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include "dynamic_lamp.h"
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include <stringview>
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
|
||||
namespace esphome {
|
||||
|
@@ -43,7 +43,7 @@ class DynamicLamp : public Component {
|
||||
protected:
|
||||
void restore_lamp_values_(uint8_t lamp_number);
|
||||
void set_lamp_values_(uint8_t lamp_number, bool active, uint16_t selected_outputs, uint8_t mode, uint8_t mode_value);
|
||||
std::stringview ltrim_(std::string_view str);
|
||||
std::string_view ltrim_(std::string_view str);
|
||||
std::string_view rtrim_(std::string_view str);
|
||||
std::string_view trim_(std::string_view str);
|
||||
|
||||
|
Reference in New Issue
Block a user