Take const reference

This commit is contained in:
Kevin Sawicki 2017-03-29 12:45:01 -07:00
parent d596d85288
commit 7f8e490839

View file

@ -368,6 +368,7 @@ enum {
- (void)enableWindowButtonsOffset;
- (void)resetTouchBar:(const std::vector<mate::PersistentDictionary>&)settings;
- (void)refreshTouchBarItem:(const std::string&)item_id;
- (void)setEscapeTouchBarItem:(const mate::PersistentDictionary&)item;
@end
@ -410,7 +411,7 @@ enum {
return nil;
}
-(void)setEscapeTouchBarItem:(mate::PersistentDictionary)item {
- (void)setEscapeTouchBarItem:(const mate::PersistentDictionary&)item {
if (atom_touch_bar_ && self.touchBar)
[atom_touch_bar_ setEscapeTouchBarItem:item forTouchBar:self.touchBar];
}