CSRT-NTUA / AlgoPlus

AlgoPlus is a C++17 library for complex data structures and algorithms
https://csrt-ntua.github.io/AlgoPlus
Apache License 2.0
141 stars 20 forks source link

Rename __min in min_heap #27

Closed Gpanaritis closed 5 months ago

Gpanaritis commented 5 months ago

Only a problem in Windows (compilation is fine on linux)

There already exists a macro named __min

In file included from .\min_heap.cc:2:
.\../../src/classes/heap/min_heap.h:59:11: error: macro "__min" requires 2 arguments, but only 1 given
   T __min() {
spirosmaggioros commented 5 months ago

this solved as of pr #39