[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
2022-07-02 19:49:42 -07:00
committed by GitHub
parent 0c01872608
commit 2c0716f654
2 changed files with 232 additions and 243 deletions
+222 -234
View File
File diff suppressed because it is too large Load Diff