[arrayfire] 21/408: Make ArrayInfo a POD object

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Sep 21 19:11:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/sid
in repository arrayfire.

commit 4c9962b09942d0b2b7a72bafad5031096a883d1b
Author: Umar Arshad <umar at arrayfire.com>
Date:   Sat Jun 20 17:02:26 2015 -0400

    Make ArrayInfo a POD object
---
 src/backend/ArrayInfo.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/ArrayInfo.hpp b/src/backend/ArrayInfo.hpp
index f89aa98..2189eb6 100644
--- a/src/backend/ArrayInfo.hpp
+++ b/src/backend/ArrayInfo.hpp
@@ -47,9 +47,9 @@ public:
 #if __cplusplus > 199711L
     //Copy constructors are deprecated if there is a
     //user-defined destructor in c++11
+    ArrayInfo() = default;
     ArrayInfo(const ArrayInfo& other) = default;
 #endif
-    ~ArrayInfo() {}
 
     const af_dtype& getType() const     { return type;                  }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git



More information about the debian-science-commits mailing list