aboutsummaryrefslogtreecommitdiff
path: root/lib/util.cpp
AgeCommit message (Collapse)Author
2018-12-10Suppress a function_traits<> test with lambdas on MSVC2015Kitsune Ral
Assigning a lambda to a static variable causes it to fail with 'auto must always deduce to the same type' error.
2018-12-08function_traits: more tests, fix function objects/lambdas not working with ↵Kitsune Ral
some compilers A member function reference is not the same as a member function pointer.
2018-12-08function_traits<>: support any arity; add compile-time testsKitsune Ral
2018-11-22Fix QString initialisation from QStringBuilderKitsune Ral
You can't assign a QStringBuilder to auto.
2018-11-22Generalise and expose cacheLocation()Kitsune Ral
2018-07-07Remove [[gnu::const]] from linkifyUrls()Kitsune Ral
It's not a pure function by any account. Closes #377. Also: minor tweaks in util.cpp
2018-06-30Try [[gnu::const]]Kitsune Ral
2018-05-28Move out prettyPrint() from Room to util.hKitsune Ral
So that it could be used outside of room context.