[Pkg-electronics-commits] [gnucap] 18/49: fix d_dot.h copy constructor

felix salfelder felix-guest at moszumanska.debian.org
Tue Feb 2 21:39:57 UTC 2016


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

felix-guest pushed a commit to branch wip
in repository gnucap.

commit f33a50ffecdf24c1e7ed656371bb7fd9af9cdb75
Author: Felix Salfelder <felix at salfelder.org>
Date:   Fri Aug 1 09:11:54 2014 +0200

    fix d_dot.h copy constructor
---
 include/d_dot.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/d_dot.h b/include/d_dot.h
index 8c0524b..1616c52 100644
--- a/include/d_dot.h
+++ b/include/d_dot.h
@@ -27,7 +27,7 @@
 class DEV_DOT : public CARD {
 private:
   std::string	_s;
-  explicit DEV_DOT(const DEV_DOT& p) :CARD(p) {set_constant(true);}
+  explicit DEV_DOT(const DEV_DOT& p) :CARD(p), _s(p._s) {untested(); set_constant(true);}
 public:
   explicit	DEV_DOT()		:CARD() {set_constant(true);}
 private: // override virtual

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/gnucap.git



More information about the Pkg-electronics-commits mailing list