diff --git a/modules/openapi-generator/src/main/resources/cpp-ue4/model-base-source.mustache b/modules/openapi-generator/src/main/resources/cpp-ue4/model-base-source.mustache index 1a551ca53152..fccd960e5e5d 100644 --- a/modules/openapi-generator/src/main/resources/cpp-ue4/model-base-source.mustache +++ b/modules/openapi-generator/src/main/resources/cpp-ue4/model-base-source.mustache @@ -8,7 +8,9 @@ namespace {{this}} bool HttpRetryManager::Tick(float DeltaTime) { +#if ENGINE_MAJOR_VERSION <= 5 && ENGINE_MINOR_VERSION <= 3 FManager::Update(); +#endif return true; } diff --git a/samples/client/petstore/cpp-ue4/Private/OpenAPIBaseModel.cpp b/samples/client/petstore/cpp-ue4/Private/OpenAPIBaseModel.cpp index a119a85b5c4c..7ffb2c4325e0 100644 --- a/samples/client/petstore/cpp-ue4/Private/OpenAPIBaseModel.cpp +++ b/samples/client/petstore/cpp-ue4/Private/OpenAPIBaseModel.cpp @@ -17,7 +17,9 @@ namespace OpenAPI bool HttpRetryManager::Tick(float DeltaTime) { +#if ENGINE_MAJOR_VERSION <= 5 && ENGINE_MINOR_VERSION <= 3 FManager::Update(); +#endif return true; }