CesiumGS / cesium-native

Apache License 2.0
438 stars 215 forks source link

Add `default` constructor to `ImageAsset` #978

Closed j9liu closed 2 weeks ago

j9liu commented 2 weeks ago

This is a small change to make the changes from #926 compatible with C++ 20. I previously got errors while trying to instantiate an empty ImageAsset, because its underlying SharedAsset constructor is protected. I'm not sure why this wasn't flagged in C++17, but oh well :shrug:

kring commented 2 weeks ago

Thanks @j9liu!