@Barnercart Making all functions defined in header
inline
is going to fix the issue. Whether it's a good practice or not - debatable. Many C++ programmers simply prefer the practice of separating declarations and definitions to keep code tidy (IMO a class with separate header is much easier to read than e.g. Java class). Using too much
inline
may increase compilation time, as compiler has to compile same function several times, but you likely won't notice the difference until you have hundreds of those. —
Yksisarvinen 49 secs ago