From 7170fc846c01194378616cd574c33b6d870009f2 Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Sat, 19 Jun 2021 23:25:36 +0200 Subject: [PATCH] Fix release build --- examples/termcap.cpp | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/examples/termcap.cpp b/examples/termcap.cpp index a15ed0a1..3d5d6530 100644 --- a/examples/termcap.cpp +++ b/examples/termcap.cpp @@ -210,7 +210,7 @@ void tcapString (const std::string& name, const char cap_string[]) //---------------------------------------------------------------------- #if DEBUG -void debug() +void showDebug() { auto& debug_data = finalcut::FTermDebugData::getInstance(); const auto& ab_s = debug_data.getAnswerbackString(); @@ -238,14 +238,14 @@ void debug() std::cout << "`------------------- debug -------------------\r\n"; } #else -void debug (const finalcut::FApplication&) +void showDebug() { // FINAL CUT was compiled without debug option } #endif //---------------------------------------------------------------------- -void booleans() +void showBooleans() { std::cout << "\r\n[Booleans]\r\n"; tcapBoolean ( "background_color_erase" @@ -273,7 +273,7 @@ void booleans() } //---------------------------------------------------------------------- -void numeric() +void showNumeric() { std::cout << "\r\n[Numeric]\r\n"; tcapNumeric ("max_color" @@ -287,7 +287,7 @@ void numeric() } //---------------------------------------------------------------------- -void string() +void showString() { std::cout << "\r\n[String]\r\n"; const auto& tcap_strings = finalcut::FTermcap::strings; @@ -325,10 +325,9 @@ int main (int argc, char* argv[]) std::cout << "--------\r\nFTermcap\r\n--------\r\n\n"; std::cout << "Terminal: " << finalcut::FTerm::getTermType() << "\r\n"; - debug(); - - booleans(); - numeric(); - string(); + showDebug(); + showBooleans(); + showNumeric(); + showString(); return 0; }