This is very hideous bug (took me at least quarter an hour (including the
blogpost). Originaly it was structure keeping data
only, later I added .cc
file with implementation of Clone method. It did not compile…
And compilers output:
/home/michal/school/dove-eye/git/dove-eye/lib/src/frame.cc:5:1: error: ‘Frame’ does not name a type
Frame Frame::Clone() {
^
Solution
Using namespace dove_eve. instead of namespace dove_eye.