Skip to content

fix: move nullptr_t definition to sdk_common.h#45

Open
zhangyx1998 wants to merge 1 commit intoSlamtec:mainfrom
OpenRover:main
Open

fix: move nullptr_t definition to sdk_common.h#45
zhangyx1998 wants to merge 1 commit intoSlamtec:mainfrom
OpenRover:main

Conversation

@zhangyx1998
Copy link
Copy Markdown

@zhangyx1998 zhangyx1998 commented Sep 30, 2024

Move definition of nullptr_t to sdk_common.h (it was previously located in sl_lidar_driver.cpp) to sdkcommon.h so sl_async_transceiver.cpp can also access it.

Before applying this change, compile will end with error because nullptr_t is not defined at sdk/src/sl_async_transceiver.cpp:204.

This change has been tested with gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4)

…h so sl_async_transceiver.cpp can also access it
nyne-nyne added a commit to Perceptyne-Technologies/sllidar_ros2 that referenced this pull request Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants