Skip to content

ksmserver: do some trivial modernization on server code

Harald Sitter requested to merge work/sitter/ksmservermodernize into master
  • use explicit for single arg constructors
  • wrap single line blocks in {}
  • use auto where possible
  • initialize variables when declaring them
  • declare variables when needed rather than ahead of time
  • std::ignore instead of void casting
  • throw away defunct KSMSERVER_STARTUP_DEBUG1
  • use c++ c includes instead of their deprecated c variants
  • remove solaris compat, it is no longer supported
  • prefer using over typedef
  • sort includes better

Merge request reports