RISCSoftware / cpacs_tigl_gen

Generates CPACS schema based classes for TiGL
Apache License 2.0
5 stars 5 forks source link

Filesystem.cpp: "sort" no member of "std" #53

Closed MarAlder closed 9 months ago

MarAlder commented 9 months ago

Compiling under Windows with MSVC 2022 amd64 returns:

[build] [...]\src\lib\Filesystem.cpp(86,8): error C2039: "sort" ist kein Member von "std". [C:\Workspace\Entwicklung\cpacsGen\git\build\libCPACSGen.vcxproj]

Works fine under Ubuntu with gpp, though.

Could be fixed by adding #include <algorithm> in Filesystem.cpp.

bernhardmgruber commented 9 months ago

Please provide a PR, I will gladly merge it! Thx for spotting this!

bernhardmgruber commented 9 months ago

Fixed by #54