Use structs instead of class for friend declaration See merge request !163 (cherry picked from commit 17eb3b67) 00c69023 Use structs instead of class for friend declaration