diff options
| author | Austin Hellyer <[email protected]> | 2016-11-26 11:33:28 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-26 11:33:28 -0800 |
| commit | 23f1dc823d658ee66a51388b742b0d06c94560c9 (patch) | |
| tree | 6b4ccf467d31d45f1e8d6834fdda5bbb18c865f8 /examples/06_command_framework/src | |
| parent | Remove the 'extras' feature flag (diff) | |
| download | serenity-23f1dc823d658ee66a51388b742b0d06c94560c9.tar.xz serenity-23f1dc823d658ee66a51388b742b0d06c94560c9.zip | |
Make Cache::get_channel return a reference
Additionally, allow it to search the groups' and private channels' maps
in the cache. As these are usually O(1) operations, it's cheap to allow,
in comparison to the current unoptimized method of getting a guild's
channel.
Diffstat (limited to 'examples/06_command_framework/src')
0 files changed, 0 insertions, 0 deletions