From 422fcea2cf0e5beadf854c668860b83522672364 Mon Sep 17 00:00:00 2001 From: Powei Feng Date: Wed, 4 Sep 2024 09:36:54 -0700 Subject: [PATCH] Make builderMakeName public This call is used in the BuilderNameMixin template definition, which is a public API. --- filament/include/filament/FilamentAPI.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/filament/include/filament/FilamentAPI.h b/filament/include/filament/FilamentAPI.h index 7a6f16d6307d..7fa194338470 100644 --- a/filament/include/filament/FilamentAPI.h +++ b/filament/include/filament/FilamentAPI.h @@ -55,7 +55,8 @@ class UTILS_PUBLIC FilamentAPI { template using BuilderBase = utils::PrivateImplementation; -void builderMakeName(utils::CString& outName, const char* name, size_t len) noexcept; +// This needs to be public because it is used in the following template. +UTILS_PUBLIC void builderMakeName(utils::CString& outName, const char* name, size_t len) noexcept; template class UTILS_PUBLIC BuilderNameMixin {