Skip to content

Commit c65b308

Browse files
authored
Merge pull request #261 from evoskuil/master
Make settings virtual, remove dead code.
2 parents 77c0121 + 6b74037 commit c65b308

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

include/bitcoin/protocol/settings.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ namespace protocol {
3131
/// Common protocol configuration settings, properties not thread safe.
3232
struct BCP_API settings
3333
{
34+
DEFAULT_COPY_MOVE_DESTRUCT(settings);
35+
3436
settings() NOEXCEPT;
3537
settings(uint32_t send_high_water, uint32_t receive_high_water) NOEXCEPT;
3638

test/test.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@
3838
#define TEST_PATH \
3939
TEST_DIRECTORY + "/" + TEST_NAME
4040

41-
#ifdef _MSC_VER
42-
#define NO_GLOBAL_INIT_CALLS 26426
43-
#define NO_UNUSED_LOCAL_SMART_PTR 26414
44-
#endif
45-
4641
#ifdef _MSC_VER
4742
BC_DISABLE_WARNING(NO_ARRAY_INDEXING)
4843
BC_DISABLE_WARNING(NO_GLOBAL_INIT_CALLS)

0 commit comments

Comments
 (0)