From a16bf9b6ecc1b6d4009626d2b961b5f9c9f10a88 Mon Sep 17 00:00:00 2001 From: Lajat5 <64376519+Lazeeez@users.noreply.github.com> Date: Thu, 4 Nov 2021 10:53:54 +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 9a92919eb..06cd4259c 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(std::stack &S) { + Point nextToTop(const std::stack &S) { Point p = S.top(); S.pop(); Point res = S.top();