[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2025-08-11 19:30:37 +00:00
committed by Rainer Kümmerle
parent 46a9a32356
commit db7e0a4370

View File

@@ -138,13 +138,13 @@ class RegisterRobustKernelProxy {
// linkage
#define G2O_REGISTER_ROBUST_KERNEL(name, classname) \
extern "C" void G2O_ROBUST_KERNEL_FACTORY_EXPORT \
g2o_robust_kernel_##classname(void) {} \
g2o_robust_kernel_##classname(void) {} \
static g2o::RegisterRobustKernelProxy<classname> \
g_robust_kernel_proxy_##classname(#name);
#define G2O_USE_ROBUST_KERNEL(classname) \
extern "C" void G2O_ROBUST_KERNEL_FACTORY_IMPORT \
g2o_robust_kernel_##classname(void); \
g2o_robust_kernel_##classname(void); \
static g2o::ForceLinker g2o_force_robust_kernel_link_##classname( \
g2o_robust_kernel_##classname);