Skip to content
Snippets Groups Projects
Commit 56ac90da authored by Paul Gessinger's avatar Paul Gessinger Committed by Walter Lampl
Browse files

Make AtlasFieldCache copyable

Make AtlasFieldCache copyable
parent 4edff88c
No related branches found
No related tags found
1 merge request!68215Make AtlasFieldCache copyable
......@@ -51,10 +51,12 @@ public:
const AtlasFieldMap* fieldMap);
/**
* Move-able but not copy-able
* Move-able and copy-able
*/
AtlasFieldCache& operator=(AtlasFieldCache&& other) = default;
AtlasFieldCache(AtlasFieldCache&& other) = default;
AtlasFieldCache(const AtlasFieldCache& other) = default;
AtlasFieldCache& operator=(const AtlasFieldCache& other) = default;
~AtlasFieldCache() = default;
/** get B field value at given position
......@@ -81,8 +83,6 @@ public:
bool toroidOn() const;
private:
AtlasFieldCache(const AtlasFieldCache& other) = delete;
AtlasFieldCache& operator=(const AtlasFieldCache& other) = delete;
/// fill given magnetic field zone */
bool fillFieldCache(double z, double r, double phi);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment