Address cpplint issue "DISALLOW_COPY_AND_ASSIGN should be the last thing in the class [readability/constructors] [3]"

This commit is contained in:
Ales Pergl 2017-04-05 13:16:41 +02:00
parent 161b4e752b
commit bf86718d61
2 changed files with 4 additions and 3 deletions

View file

@ -18,13 +18,13 @@ class NotificationPresenterWin7 :
Win32Notification* GetNotificationObjectByTag(const std::string& tag);
private:
DISALLOW_COPY_AND_ASSIGN(NotificationPresenterWin7);
brightray::Notification* CreateNotificationObject(
NotificationDelegate* delegate) override;
void OnNotificationClicked(Notification& notification) override;
void OnNotificationDismissed(Notification& notification) override;
DISALLOW_COPY_AND_ASSIGN(NotificationPresenterWin7);
};
} // namespace brightray

View file

@ -24,9 +24,10 @@ class Win32Notification : public brightray::Notification {
}
private:
DISALLOW_COPY_AND_ASSIGN(Win32Notification);
DesktopNotificationController::Notification notification_ref_;
std::string tag_;
DISALLOW_COPY_AND_ASSIGN(Win32Notification);
};
} // namespace brightray