Commit 877efeee authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Added assignment operator to EmitDB.

parent 06127c50
Pipeline #147698 passed with stages
in 18 minutes and 26 seconds
......@@ -261,4 +261,10 @@ std::vector<std::vector<float>> EmitDb::betas(const int zaid)
return paired;
}
void EmitDb::operator=(const EmitDb& orig)
{
mIsotope = orig.mIsotope;
mIsotopeTitle = orig.mIsotopeTitle;
}
} // namespace radix
......@@ -88,6 +88,7 @@ class RADIX_PUBLIC EmitDb
std::vector<std::vector<float>> photons(const int zaid);
const std::vector<std::vector<float>> betas(const int zaid) const;
std::vector<std::vector<float>> betas(const int zaid);
void operator=(const EmitDb& orig);
}; // class EmitDb
} // namespace radix
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment