Skip to content

Commit c03249c

Browse files
committed
Reformatted code for more consistent look and better readability.
1 parent 83429c9 commit c03249c

File tree

93 files changed

+10563
-10157
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+10563
-10157
lines changed

bug/bug.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
namespace fs = boost::filesystem;
77

8-
int test_main(int, char*[]) // note name
8+
int test_main(int, char*[]) // note name
99
{
10-
BOOST_TEST(2 + 2 == 5); // one convertible-to-bool argument
11-
BOOST_TEST_EQ(4 + 4, 9); // two EqualityComparible arguments
12-
BOOST_TEST(fs::exists(".")); // should pass, so nothing reported
10+
BOOST_TEST(2 + 2 == 5); // one convertible-to-bool argument
11+
BOOST_TEST_EQ(4 + 4, 9); // two EqualityComparible arguments
12+
BOOST_TEST(fs::exists(".")); // should pass, so nothing reported
1313

14-
return ::boost::report_errors(); // required
14+
return ::boost::report_errors(); // required
1515
}
1616

1717
// Copyright Beman Dawes 2014

config/has_bcrypt.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626

2727
int main()
2828
{
29-
unsigned char buf[16] = {};
30-
boost::winapi::BCRYPT_ALG_HANDLE_ handle;
31-
boost::winapi::NTSTATUS_ status = boost::winapi::BCryptOpenAlgorithmProvider(&handle, boost::winapi::BCRYPT_RNG_ALGORITHM_, NULL, 0);
32-
status = boost::winapi::BCryptGenRandom(handle, reinterpret_cast<boost::winapi::PUCHAR_>(static_cast<unsigned char*>(buf)), static_cast<boost::winapi::ULONG_>(sizeof(buf)), 0);
33-
boost::winapi::BCryptCloseAlgorithmProvider(handle, 0);
29+
unsigned char buf[16] = {};
30+
boost::winapi::BCRYPT_ALG_HANDLE_ handle;
31+
boost::winapi::NTSTATUS_ status = boost::winapi::BCryptOpenAlgorithmProvider(&handle, boost::winapi::BCRYPT_RNG_ALGORITHM_, NULL, 0);
32+
status = boost::winapi::BCryptGenRandom(handle, reinterpret_cast< boost::winapi::PUCHAR_ >(static_cast< unsigned char* >(buf)), static_cast< boost::winapi::ULONG_ >(sizeof(buf)), 0);
33+
boost::winapi::BCryptCloseAlgorithmProvider(handle, 0);
3434
}

0 commit comments

Comments
 (0)