mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 05:16:58 +00:00
GenerateExportHeader: Fix name of example function definition
The usage example declares a deprecated internal function but defines it under a different name, so the example would not link.
This commit is contained in:
1 file changed
+1
-1
@@ -356,7 +356,7 @@ And in the ABI header files:
|
||||
std::cout << "legacyPublicFunction() is deprecated" << std::endl;
|
||||
}
|
||||
|
||||
void internalLegacyFunction()
|
||||
void legacyInternalFunction()
|
||||
{
|
||||
std::cout << "legacyInternalFunction() is deprecated" << std::endl;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user