[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:
Quintinon authored and GitHub committed 2022-07-02 21:49:42 -05:00
1 parent 0c01872608
commit 2c0716f654
2 files changed
+232 -243

No files matched your search

+222 -234
View File
File diff suppressed because it is too large. Load diff