Skip to content

Commit 90f286f

Browse files
authored
Address StringMaker<T>::convert() implicit instantiation issues (#1525)
1 parent 82f77b6 commit 90f286f

File tree

8 files changed

+18
-21
lines changed

8 files changed

+18
-21
lines changed

src/mongocxx/test/subprocess.hh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
#pragma once
1616

17-
#include <bsoncxx/v1/stdx/string_view.hpp>
18-
1917
#include <functional>
2018

2119
namespace mongocxx {

src/mongocxx/test/v1/count_options.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616

1717
//
1818

19-
#include <bsoncxx/v1/types/value.hpp>
20-
2119
#include <mongocxx/v1/hint.hpp>
2220
#include <mongocxx/v1/read_preference.hpp>
2321

22+
#include <bsoncxx/test/v1/types/value.hh>
23+
24+
#include <mongocxx/test/private/scoped_bson.hh>
25+
2426
#include <chrono>
2527
#include <cstdint>
2628
#include <utility>
2729

28-
#include <mongocxx/private/scoped_bson.hh>
29-
3030
#include <catch2/catch_test_macros.hpp>
3131
#include <catch2/generators/catch_generators.hpp>
3232

src/mongocxx/test/v1/distinct_options.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@
1616

1717
//
1818

19-
#include <bsoncxx/v1/document/view.hpp>
20-
#include <bsoncxx/v1/types/value.hpp>
21-
2219
#include <mongocxx/v1/read_preference.hpp>
2320

24-
#include <chrono>
21+
#include <bsoncxx/test/v1/types/value.hh>
2522

26-
#include <mongocxx/private/scoped_bson.hh>
23+
#include <mongocxx/test/private/scoped_bson.hh>
24+
25+
#include <chrono>
2726

2827
#include <catch2/catch_test_macros.hpp>
2928
#include <catch2/generators/catch_generators.hpp>

src/mongocxx/test/v1/estimated_document_count_options.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616

1717
//
1818

19-
#include <bsoncxx/v1/types/value.hpp>
20-
2119
#include <mongocxx/v1/read_preference.hpp>
2220

21+
#include <bsoncxx/test/v1/types/value.hh>
22+
23+
#include <mongocxx/test/private/scoped_bson.hh>
24+
2325
#include <chrono>
2426
#include <cstdint>
2527
#include <utility>
2628

27-
#include <mongocxx/private/scoped_bson.hh>
28-
2929
#include <catch2/catch_test_macros.hpp>
3030
#include <catch2/generators/catch_generators.hpp>
3131
#include <catch2/generators/catch_generators_adapters.hpp>

src/mongocxx/test/v1/hint.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818

1919
#include <bsoncxx/test/v1/types/view.hh>
2020

21+
#include <mongocxx/test/private/scoped_bson.hh>
22+
2123
#include <string>
2224
#include <utility>
2325

24-
#include <mongocxx/private/scoped_bson.hh>
25-
2626
#include <catch2/catch_test_macros.hpp>
2727
#include <catch2/generators/catch_generators.hpp>
2828

src/mongocxx/test/v1/instance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
//
1818

19-
#include <bsoncxx/v1/stdx/string_view.hpp>
19+
#include <bsoncxx/test/v1/stdx/string_view.hh>
2020

2121
#include <mongocxx/test/v1/logger.hh>
2222

src/mongocxx/test/v1/logger.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
//
1818

19-
#include <bsoncxx/v1/stdx/string_view.hpp>
19+
#include <bsoncxx/test/v1/stdx/string_view.hh>
2020

2121
#include <type_traits>
2222

src/mongocxx/test/v1/rewrap_many_datakey_options.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818

1919
#include <bsoncxx/test/v1/stdx/string_view.hh>
2020

21+
#include <mongocxx/test/private/scoped_bson.hh>
22+
2123
#include <string>
2224
#include <utility>
2325

24-
#include <mongocxx/private/scoped_bson.hh>
25-
2626
#include <catch2/catch_test_macros.hpp>
2727
#include <catch2/generators/catch_generators.hpp>
2828
#include <catch2/generators/catch_generators_adapters.hpp>

0 commit comments

Comments
 (0)