In C++ files, replace MIN and MAX by std::min and std::max, respectively. There are still a few C files using these macros. Convert them in due course. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Removes memory management pain: the struct cleans up when it goes out of scope. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Another relatively easily converted part of the code. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>