mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update geometry/graham_scan_functions.hpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
a16bf9b6ec
commit
e89e4c8ce8
@ -63,7 +63,7 @@ namespace geometry::grahamscan {
|
||||
* @param S Stack to be used for the process.
|
||||
* @returns @param Point Co-ordinates of the Point <int, int>
|
||||
*******************************************************************************/
|
||||
Point nextToTop(const std::stack<Point> &S) {
|
||||
Point nextToTop(std::stack<Point> S) {
|
||||
Point p = S.top();
|
||||
S.pop();
|
||||
Point res = S.top();
|
||||
|
Loading…
Reference in New Issue
Block a user