[Pkg-electronics-commits] [gnucap] 20/47: undo "turn DEV_SUBCKT into baseclass"

felix salfelder felix-guest at moszumanska.debian.org
Mon Sep 26 10:35:59 UTC 2016


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

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

commit 7e2f4c5aad76288711291d1dbeb41e4b3223a7a4
Author: Felix Salfelder <felix at salfelder.org>
Date:   Mon Sep 7 16:42:10 2015 +0200

    undo "turn DEV_SUBCKT into baseclass"
    
    this is unnecessary, using SUBCKT_BASE instead
---
 include/d_subckt.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/include/d_subckt.h b/include/d_subckt.h
index ae066cd..682944f 100644
--- a/include/d_subckt.h
+++ b/include/d_subckt.h
@@ -69,7 +69,7 @@ private:
 /*--------------------------------------------------------------------------*/
 class DEV_SUBCKT : public BASE_SUBCKT {
   friend class MODEL_SUBCKT;
-protected:
+private:
   explicit	DEV_SUBCKT(const DEV_SUBCKT&);
 public:
   explicit	DEV_SUBCKT();
@@ -84,9 +84,7 @@ private: // override virtual
   int		net_nodes()const	{return _net_nodes;}
   CARD*		clone()const		{return new DEV_SUBCKT(*this);}
   void		precalc_first();
-protected:
   void		expand();
-private:
   void		precalc_last();
   double	tr_probe_num(const std::string&)const;
   int param_count_dont_print()const {return common()->COMMON_COMPONENT::param_count();}

-- 
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