Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ODR violation in ThemisPP (#576)
All functions defined in header files should be marked "inline" so that the compiler does proper deduplication and does not violate "one definition rule" (ODR). Otherwise (you guessed it, right?) undefined behavior happens. Thanks goes go "clang-analyzer" whose warnings we diligently ignore. We've been burnt by this in the past and I never learn because C++ is such a monster that I easily forget something about it all the time.
- Loading branch information