From e89e4c8ce8538c1d1ffe4a1d281e4dbb56e34310 Mon Sep 17 00:00:00 2001 From: Lajat5 <64376519+Lazeeez@users.noreply.github.com> Date: Sat, 6 Nov 2021 12:18:04 +0530 Subject: [PATCH] Update geometry/graham_scan_functions.hpp Co-authored-by: David Leal --- geometry/graham_scan_functions.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geometry/graham_scan_functions.hpp b/geometry/graham_scan_functions.hpp index 06cd4259c..9d9325289 100644 --- a/geometry/graham_scan_functions.hpp +++ b/geometry/graham_scan_functions.hpp @@ -63,7 +63,7 @@ namespace geometry::grahamscan { * @param S Stack to be used for the process. * @returns @param Point Co-ordinates of the Point *******************************************************************************/ - Point nextToTop(const std::stack &S) { + Point nextToTop(std::stack S) { Point p = S.top(); S.pop(); Point res = S.top();