[yoda-svn] r287 - in trunk: . include/YODA

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Aug 18 17:48:44 BST 2011


Author: buckley
Date: Thu Aug 18 17:48:44 2011
New Revision: 287

Log:
Removing the Profile1D -> ProfileBin1D friendship. This is very heartening -- the fewer friend declarations we need, the more indication that the class structure is not pathological! (Or that we've just made everything public... but we haven't). PS. Remember to add to the ChangeLog when you do something signficant.

Modified:
   trunk/ChangeLog
   trunk/include/YODA/ProfileBin1D.h

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	Thu Aug 18 17:43:14 2011	(r286)
+++ trunk/ChangeLog	Thu Aug 18 17:48:44 2011	(r287)
@@ -1,3 +1,10 @@
+2011-08-18  Andy Buckley  <andy at insectnation.org>
+
+	* Removing the Profile1D -> ProfileBin1D friendship. This is very
+	heartening -- the fewer friend declarations we need, the more
+	indication that the class structure is not pathological! (Or that
+	we've just made everything public... but we haven't)
+
 2011-08-15  Andy Buckley  <andy at insectnation.org>
 
 	* Inlining all functions in HistoBin1D, ProfileBin1D, and

Modified: trunk/include/YODA/ProfileBin1D.h
==============================================================================
--- trunk/include/YODA/ProfileBin1D.h	Thu Aug 18 17:43:14 2011	(r286)
+++ trunk/include/YODA/ProfileBin1D.h	Thu Aug 18 17:48:44 2011	(r287)
@@ -20,11 +20,6 @@
   /// extra internal distribution statistics are stored for the extra
   /// "y-direction" specified in the profile fill operation.
   class ProfileBin1D : public Bin1D {
-
-    /// Profile1D is a friend to add/subtract bins
-    friend class Profile1D;
-
-
   public:
 
     /// @name Constructors


More information about the yoda-svn mailing list