Take const reference
This commit is contained in:
parent
d596d85288
commit
7f8e490839
1 changed files with 2 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue