Skip to content

Commit 8c5a5d5

Browse files
hjmjohnsonjcfr
authored andcommitted
STYLE: Remove end of line spaces for main code.
1 parent 18c872d commit 8c5a5d5

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

GenerateCLP/Testing/Utf8Example/Utf8Example1.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ int main (int argc, char *argv[])
7474
rts.close();
7575

7676
#ifdef _WIN32
77-
7877
// Check current windows version before proceeding
7978
RTL_OSVERSIONINFOW rovi = GetRealOSVersion();
8079
std::cout << "Windows version: " << rovi.dwMajorVersion << "." << rovi.dwMinorVersion << " build " << rovi.dwBuildNumber << std::endl;

ModuleDescriptionParser/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,11 @@ endif()
181181
target_link_libraries(${lib_name} ${libs})
182182
## target_link_libraries(${lib_name}-static ${link_libs})
183183
set(USE_COMPILER_HIDDEN_VISIBILITY ON)
184-
if (USE_COMPILER_HIDDEN_VISIBILITY)
185-
# Prefer to use target properties supported by newer cmake
186-
set_target_properties(${lib_name} PROPERTIES CXX_VISIBILITY_PRESET hidden)
187-
set_target_properties(${lib_name} PROPERTIES C_VISIBILITY_PRESET hidden)
188-
set_target_properties(${lib_name} PROPERTIES VISIBILITY_INLINES_HIDDEN 1)
184+
if (USE_COMPILER_HIDDEN_VISIBILITY)
185+
# Prefer to use target properties supported by newer cmake
186+
set_target_properties(${lib_name} PROPERTIES CXX_VISIBILITY_PRESET hidden)
187+
set_target_properties(${lib_name} PROPERTIES C_VISIBILITY_PRESET hidden)
188+
set_target_properties(${lib_name} PROPERTIES VISIBILITY_INLINES_HIDDEN 1)
189189
endif()
190190

191191
option(USE_COMPILER_HIDDEN_VISIBILITY "Use HIDDEN visibility support if available." ON)

0 commit comments

Comments
 (0)