diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-08-07 16:55:06 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-08-07 16:55:06 +0200 |
commit | f7cbefe5ad626ae1798a5d7bb7546e89ad336acd (patch) | |
tree | bccb4e74683b9ceed9000938da495976cbfa70c8 /lib/csapi/peeking_events.h | |
parent | 1f52b5a2da9bce4d25f4c897370e58c8b6d56ba1 (diff) | |
download | libquotient-f7cbefe5ad626ae1798a5d7bb7546e89ad336acd.tar.gz libquotient-f7cbefe5ad626ae1798a5d7bb7546e89ad336acd.zip |
API files: reformat after .clang-format change
See 000b5730.
Diffstat (limited to 'lib/csapi/peeking_events.h')
-rw-r--r-- | lib/csapi/peeking_events.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/lib/csapi/peeking_events.h b/lib/csapi/peeking_events.h index 1eee880f..885ff340 100644 --- a/lib/csapi/peeking_events.h +++ b/lib/csapi/peeking_events.h @@ -53,23 +53,14 @@ public: /// A token which correlates to the first value in `chunk`. This /// is usually the same token supplied to `from=`. - QString begin() const - { - return loadFromJson<QString>("start"_ls); - } + QString begin() const { return loadFromJson<QString>("start"_ls); } /// A token which correlates to the last value in `chunk`. This /// token should be used in the next request to `/events`. - QString end() const - { - return loadFromJson<QString>("end"_ls); - } + QString end() const { return loadFromJson<QString>("end"_ls); } /// An array of events. - RoomEvents chunk() - { - return takeFromJson<RoomEvents>("chunk"_ls); - } + RoomEvents chunk() { return takeFromJson<RoomEvents>("chunk"_ls); } }; } // namespace Quotient |