Skip to content

Commit 2ffed38

Browse files
committed
General whitespace cleanup and removal of commented-out code.
1 parent 473479c commit 2ffed38

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

Release/CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ elseif(ANDROID)
3838
endif()
3939
find_host_package(Boost 1.55 EXACT REQUIRED COMPONENTS random system thread locale filesystem chrono atomic)
4040

41-
# find_package(Threads REQUIRED)
4241
set(OPENSSL_FOUND 1)
4342
if(ARM)
4443
set(OPENSSL_INCLUDE_DIR "${CMAKE_BINARY_DIR}/../openssl/armeabi-v7a/include")
@@ -59,15 +58,15 @@ elseif(ANDROID)
5958
else()
6059
set(LIBCXX_STL "${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/4.8/libs/x86/thumb/libgnustl_static.a")
6160
endif()
61+
# These are used in the shared library case
6262
set(ANDROID_STL_FLAGS
63-
# pthread
6463
${LIBCXX_STL}
65-
# atomic
64+
atomic
6665
dl
6766
gcc
6867
c
6968
m
70-
# -nodefaultlibs
69+
-nodefaultlibs
7170
)
7271

7372
option(BUILD_SHARED_LIBS "Build shared Libraries." OFF)

Release/include/cpprest/filestream.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -664,9 +664,9 @@ namespace details {
664664
return (pos_type)_seekrdpos_fsb(m_info, size_t(m_info->m_rdpos+offset), sizeof(_CharType));
665665
case std::ios_base::end:
666666
return (pos_type)_seekrdtoend_fsb(m_info, int64_t(offset), sizeof(_CharType));
667-
default:
668-
// Fail on invalid input (_S_ios_seekdir_end)
669-
assert(false);
667+
default:
668+
// Fail on invalid input (_S_ios_seekdir_end)
669+
assert(false);
670670
}
671671
}
672672
else if ( (m_info->m_mode & std::ios::ios_base::app) == 0 )
@@ -679,9 +679,9 @@ namespace details {
679679
return (pos_type)_seekwrpos_fsb(m_info, size_t(m_info->m_wrpos+offset), sizeof(_CharType));
680680
case std::ios_base::end:
681681
return (pos_type)_seekwrpos_fsb(m_info, size_t(-1), sizeof(_CharType));
682-
default:
683-
// Fail on invalid input (_S_ios_seekdir_end)
684-
assert(false);
682+
default:
683+
// Fail on invalid input (_S_ios_seekdir_end)
684+
assert(false);
685685
}
686686
}
687687
return (pos_type)traits::eof();

Release/src/pplx/threadpool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ JNIEnv* get_jvm_env()
3737
auto result = JVM.load()->AttachCurrentThread(&env, nullptr);
3838
if (result != JNI_OK)
3939
{
40-
throw std::runtime_error("Could not attach to JVM");
40+
throw std::runtime_error("Could not attach to JVM");
4141
}
4242

4343
return env;

0 commit comments

Comments
 (0)