Skip to content

Commit

Permalink
Fix warning of deprecated implicit copy constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
wdeconinck committed Aug 25, 2023
1 parent a36f260 commit aaf527d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/atlas/interpolation/Cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ class MatrixCache final : public Cache {
public:
MatrixCache() = default;
MatrixCache(const Cache& c);
MatrixCache(const MatrixCache& c) : MatrixCache(Cache(c)) {}
MatrixCache(Matrix&& m);
MatrixCache(std::shared_ptr<const Matrix> m, const std::string& uid = "");
MatrixCache(const Matrix* m);
Expand Down Expand Up @@ -146,6 +147,7 @@ class IndexKDTreeCache final : public Cache {
public:
IndexKDTreeCache() = default;
IndexKDTreeCache(const Cache& c);
IndexKDTreeCache(const IndexKDTreeCache& c) : IndexKDTreeCache(Cache(c)) {}
IndexKDTreeCache(const IndexKDTree&);
IndexKDTreeCache(const Interpolation&);
operator bool() const;
Expand Down

0 comments on commit aaf527d

Please sign in to comment.