diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-04-03 18:32:14 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-04-03 18:32:14 +0900 |
commit | d76b2fbe30a503009d33c4df06848d7356fc39a6 (patch) | |
tree | f2c2476ed6f89cab6c4d5b3b8247fdccc041c865 /lib/util.h | |
parent | d9f09be82b716c5261a36feb6006c4978d989d9e (diff) | |
download | libquotient-d76b2fbe30a503009d33c4df06848d7356fc39a6.tar.gz libquotient-d76b2fbe30a503009d33c4df06848d7356fc39a6.zip |
DirectChatEvent: be careful with range-for over temporaries
...because temporaries returned by temporaries tend to disappear before you enter the loop body (see the bottom of http://en.cppreference.com/w/cpp/language/range-for#Explanation).
Diffstat (limited to 'lib/util.h')
0 files changed, 0 insertions, 0 deletions