Add operator= that gcc wants to use