From cd5aa198c165b2df3ac6aaaf2f679e764c377881 Mon Sep 17 00:00:00 2001 From: Spencer Smith <smiths@mcmaster.ca> Date: Wed, 14 Mar 2018 01:08:30 -0400 Subject: [PATCH] Correction to remove inadvertently copied operator overloading, not appropriate for DataSet with doubles --- Lectures/L26_SpecViaUML/DataSet/include/DataSet.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Lectures/L26_SpecViaUML/DataSet/include/DataSet.h b/Lectures/L26_SpecViaUML/DataSet/include/DataSet.h index 60823d93..d709321a 100644 --- a/Lectures/L26_SpecViaUML/DataSet/include/DataSet.h +++ b/Lectures/L26_SpecViaUML/DataSet/include/DataSet.h @@ -13,10 +13,6 @@ class DataSet void add(double x); double getAverage(); double getMaximum(); - - friend ostream &operator<<( ostream &output, const PointT &P ) { - output << "x-coord: " << P.xc << "y-coord: " << P.yc; - return output; }; #endif -- GitLab