Commit c196fdbf authored by James Knee's avatar James Knee
Browse files

missing pointer in definition

parent bf1b59f3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -81,13 +81,13 @@ public:
    * @param things A vector of geometric things whose areas are to be summed.
    * @return The sum of the areas of all geometric things in the vector [things].
    */
    static float sumAreas(vector<labFour_pOne_GeometricThing> things);
    static float sumAreas(vector<labFour_pOne_GeometricThing *> things);

    /**
    * @param things A vector of geometric things whose areas are to be summed.
    * @return The sum of the areas of all geometric things in the vector [things].
    */
    static float sumPerimeters(vector<labFour_pOne_GeometricThing> things);
    static float sumPerimeters(vector<labFour_pOne_GeometricThing *> things);
};

class labFour_pOne_Quadrilateral : public labFour_pOne_GeometricThing {