drogon/orm_lib
L0ric0 953000e3fb
Fix compiler warnings (#1081)
* Fix narrowing conversion warning.

The `static_cast` does not change the behavior of the programm only explictly stating that the behavior is intended.
This change is needed as some compiler settings will treat this warning as an error.

* Do not redeclare `result` variable in insertFormattedString as it shadows variable in outer scope.

This fixes a compiler warning for shadowing variables declared in an outer scope. This change does not change the behaviour of the programm as the shadowd variable is not reused after the inner scope ends. Also the new version should represent the intention of the code better.
This change is needed as some compiler settings will treat this warning as an error.
2021-11-21 09:14:57 +08:00
..
inc/drogon/orm Fix compiler warnings (#1081) 2021-11-21 09:14:57 +08:00
src Improve WebSocket mask handling (#875) 2021-05-29 15:11:41 +08:00
tests Fix compiler warnings (#886) 2021-06-09 19:14:15 +08:00
COPYING Update LICENSE 2019-04-05 18:46:19 +08:00