8000 constness on return type warning fix. · dok-net/arduino-esp8266@960c8f5 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 960c8f5

Browse files
committed
constness on return type warning fix.
1 parent 57a87ca commit 960c8f5

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

cores/esp8266/MultiDelegate.h

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,14 +241,15 @@ namespace delegate
241241
{
242242
return current == rhs.current;
243243
}
244-
bool operator!=(const iterator& rhs) const {
244+
bool operator!=(const iterator& rhs) const
245+
{
245246
return !operator==(rhs);
246247
}
247248
Delegate& operator*() const
248249
{
249250
return current->mDelegate;
250251
}
251-
Delegate* const operator->() const
252+
Delegate* operator->() const
252253
{
253254
return &current->mDelegate;
254255
}
@@ -271,10 +272,12 @@ namespace delegate
271272
}
272273
};
273274

274-
iterator begin() {
275+
iterator begin()
276+
{
275277
return iterator(*this);
276278
}
277-
iterator end() const {
279+
iterator end() const
280+
{
278281
return iterator();
279282
}
280283

0 commit comments

Comments
 (0)
0