jklimke / libcitygml

C++ Library for CityGML Parsing and Visualization
GNU Lesser General Public License v2.1
97 stars 55 forks source link

Add missing include for std::function #63

Closed adi64 closed 2 years ago

adi64 commented 2 years ago

The current version 2.4.0 does not compile for me using GCC 11.1.0. The reason is that in two headers, std::function is used without adding the appropriate include for <functional>. This MR adds those. Then it compiles fine for me.

Disclaimer: I did not use the new functionality, so I cannot state anything about that functionality. For now, I am only concerned with making it compile and work as it used to.

jklimke commented 2 years ago

@adi64 Thanks a lot. Maybe i need to add some more travis compiler builds to avoid this next time. Sorry for not checking this.