Looks like this line should be private rather than public for the ray class https://github.com/RayTracing/raytracing.github.io/blob/588b950cd27c41b5e18a2b5e346ff6fd6e73f67a/src/common/ray.h#L36