realm / realm-cpp

Realm C++
Apache License 2.0
74 stars 17 forks source link

RCPP-85 fixed gcc clang build ubuntu 24.04 #238

Open BestITUserEUW opened 2 months ago

BestITUserEUW commented 2 months ago

Issue RCPP-85

Fixed missing header in realm.hpp mentioned in RCPP-85. Fixed the following build error in gcc:

cpprealm/link.hpp:190:21: error: expected unqualified-id before ‘)’ token 190 | managed<T*>() = default; | ^

managed() = default;

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

BestITUserEUW commented 2 months ago

Tested: with:

gcc version 12.3.0, 13.2.0 clang version: 18.1.3 system: ubuntu 24.04 x86_64