File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ struct EERef{
40
40
41
41
// Access/read members.
42
42
uint8_t operator *() const { return eeprom_read_byte ( (uint8_t *) index ); }
43
- operator const uint8_t () const { return **this ; }
43
+ operator uint8_t () const { return **this ; }
44
44
45
45
// Assignment/write members.
46
46
EERef &operator =( const EERef &ref ) { return *this = *ref; }
@@ -89,7 +89,7 @@ struct EEPtr{
89
89
EEPtr ( const int index )
90
90
: index( index ) {}
91
91
92
- operator const int () const { return index ; }
92
+ operator int () const { return index ; }
93
93
EEPtr &operator =( int in ) { return index = in, *this ; }
94
94
95
95
// Iterator functionality.
@@ -143,4 +143,4 @@ struct EEPROMClass{
143
143
};
144
144
145
145
static EEPROMClass EEPROM;
146
- #endif
146
+ #endif
You can’t perform that action at this time.
0 commit comments