-
Notifications
You must be signed in to change notification settings - Fork 11
Replace all std::bind instances with lambda expressions. #74
Replace all std::bind instances with lambda expressions. #74
Conversation
bmoyles0117
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like these changes! LGTM
supriyagarg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A minor comment. Otherwise these changes look great!
src/kubernetes.cc
Outdated
| @@ -1157,12 +1160,15 @@ void KubernetesUpdater::StartUpdater() { | |||
| config().KubernetesClusterLevelMetadata() ? "" : current_node); | |||
|
|
|||
| // Wrap the bind expression into a function to use as a bind argument. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update this comment to mention lambda expression rather than bind.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment is outdated. I just removed it.
igorpeshansky
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PTAL.
src/kubernetes.cc
Outdated
| @@ -1157,12 +1160,15 @@ void KubernetesUpdater::StartUpdater() { | |||
| config().KubernetesClusterLevelMetadata() ? "" : current_node); | |||
|
|
|||
| // Wrap the bind expression into a function to use as a bind argument. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment is outdated. I just removed it.
|
Thanks. LGTM |
|
Sigh. Merged into the wrong branch. It's ok, we'll pick this up once #73 is merged. |
This is a cherry-pick of #74 into master.
This is effectively a cherry-pick of #74 into master.
This is effectively a cherry-pick of #74 into master.
|
Superseded by #83. |
No description provided.