Removed some junk templates, which pass compilation on Windows

even if they are invalid.
This commit is contained in:
bubnikv 2019-07-04 19:59:45 +02:00
parent 70c6558a4c
commit 3e5f9b5a22

View File

@ -268,14 +268,6 @@ public:
// Bounding box is expected to be centered around zero in all axes. // Bounding box is expected to be centered around zero in all axes.
static Transformation volume_to_bed_transformation(const Transformation& instance_transformation, const BoundingBoxf3& bbox); static Transformation volume_to_bed_transformation(const Transformation& instance_transformation, const BoundingBoxf3& bbox);
private:
template<class Archive> void load(Archive& archive, Slic3r::Geometry::Transformation &t) {
archive.loadBinary((char*)t.data(), sizeof(float) * 4);
}
template<class Archive> void save(Archive& archive, const Slic3r::Geometry::Transformation &t) const {
archive.saveBinary((char*)t.data(), sizeof(float) * 4);
}
private: private:
friend class cereal::access; friend class cereal::access;
template<class Archive> void serialize(Archive & ar) { ar(m_offset, m_rotation, m_scaling_factor, m_mirror); } template<class Archive> void serialize(Archive & ar) { ar(m_offset, m_rotation, m_scaling_factor, m_mirror); }