Merge pull request #1005 from flavio-fernandes/constWiFiManagerParameter

trivial: WiFiManagerParameter get accessors should work on const
This commit is contained in:
Shawn A
2021-06-21 10:28:52 -05:00
committed by GitHub
2 changed files with 14 additions and 14 deletions
+7 -7
View File
@@ -122,13 +122,13 @@ class WiFiManagerParameter {
~WiFiManagerParameter();
// WiFiManagerParameter& operator=(const WiFiManagerParameter& rhs);
const char *getID();
const char *getValue();
const char *getLabel();
const char *getPlaceholder(); // @deprecated, use getLabel
int getValueLength();
int getLabelPlacement();
const char *getCustomHTML();
const char *getID() const;
const char *getValue() const;
const char *getLabel() const;
const char *getPlaceholder() const; // @deprecated, use getLabel
int getValueLength() const;
int getLabelPlacement() const;
const char *getCustomHTML() const;
void setValue(const char *defaultValue, int length);
protected: