Skip to content
Snippets Groups Projects
Commit 395ddcd3 authored by Gerhard Raven's avatar Gerhard Raven
Browse files

Clean up original GOD generated code

- improve use of flags by using generic functions to set/get,
  and compute offsets from values, instead of defining them
  coherently
- add [[nodiscard]] where appropriate
- avoid comparing SmartRef to 0
- have setters return reference to *this
- declare operator<< into the smallest possible scope so it does
  not pollute the global namespace -- and implement in in the .cpp
  file instead of in the header file. Also, prefer '\n' over std::endl
  to avoid flusing the stream midway
parent cfef3f91
No related branches found
No related tags found
1 merge request!4418Clean up original GOD generated code in PhysEvent and MCEvent
Pipeline #6773025 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment