Implement getter/setter for const& property

This commit is contained in:
Allan Odgaard
2012-09-12 16:04:29 +02:00
parent 2e2b91144d
commit 4b76514eeb

View File

@@ -32,7 +32,8 @@ OAK_DEBUG_VAR(FileBrowser_DSDirectory);
@end
@implementation FSFileItem
@synthesize key;
- (std::pair<dev_t, ino_t> const&)key { return key; }
- (void)setKey:(std::pair<dev_t, ino_t> const&)newKey { key = newKey; }
@end
namespace