mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 04:37:16 +00:00
[Cleanup] Cleanup code smells and compiler warnings in common/shareddb (#2270)
* Apply refactoring for modernize-use-default-equals * Apply refactoring for const local variable * Replace c-style cast with static_cast<> * Explicit cast double to float to remove compiler warning * Make member functions const when possible * Correct [lnt-accidental-copy] by changing auto to auto& * Use static_cast instead of reinterpret_cast when appropriate * Remove unneeded initial values when assigned in all paths and joined delcaration and assignment when possible * Remove unused include * Make member function in header const
This commit is contained in:
1 parent
0c01872608
commit
2c0716f654
2 files changed
+232
-243
No files matched your search
+222
-234
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user