This repository was archived by the owner on Apr 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-25
lines changed
Microsoft.WindowsAzure.Storage Expand file tree Collapse file tree 2 files changed +4
-25
lines changed Original file line number Diff line number Diff line change @@ -1498,21 +1498,11 @@ namespace azure { namespace storage {
1498
1498
// / </summary>
1499
1499
WASTORAGE_API void __cdecl set_wastorage_ambient_scheduler (const std::shared_ptr<pplx::scheduler_interface>& scheduler);
1500
1500
1501
- #if defined(_MSC_VER) && _MSC_VER < 1900
1502
-
1503
1501
// / <summary>
1504
1502
// / Gets the ambient scheduler to be used by the PPL constructs. Note this is not thread safe.
1505
1503
// / </summary>
1506
1504
WASTORAGE_API const std::shared_ptr<pplx::scheduler_interface> __cdecl get_wastorage_ambient_scheduler ();
1507
1505
1508
- #else
1509
-
1510
- // / <summary>
1511
- // / Gets the ambient scheduler to be used by the PPL constructs. Note this is not thread safe.
1512
- // / </summary>
1513
- WASTORAGE_API const std::shared_ptr<pplx::scheduler_interface>& __cdecl get_wastorage_ambient_scheduler ();
1514
-
1515
- #endif
1516
1506
// / <summary>
1517
1507
// / Sets the ambient scheduler to be used for scheduling delayed tasks. Note this is not thread safe.
1518
1508
// / </summary>
Original file line number Diff line number Diff line change @@ -68,21 +68,10 @@ namespace azure { namespace storage {
68
68
pplx::set_ambient_scheduler (scheduler);
69
69
}
70
70
71
- #if defined(_MSC_VER) && _MSC_VER < 1900
72
-
73
- const std::shared_ptr<pplx::scheduler_interface> __cdecl get_wastorage_ambient_scheduler ()
74
- {
75
- return pplx::get_ambient_scheduler ();
76
- }
77
-
78
- #else
79
-
80
- const std::shared_ptr<pplx::scheduler_interface>& __cdecl get_wastorage_ambient_scheduler ()
81
- {
82
- return pplx::get_ambient_scheduler ();
83
- }
84
-
85
- #endif
71
+ const std::shared_ptr<pplx::scheduler_interface> __cdecl get_wastorage_ambient_scheduler ()
72
+ {
73
+ return pplx::get_ambient_scheduler ();
74
+ }
86
75
87
76
void __cdecl set_wastorage_ambient_delayed_scheduler (const std::shared_ptr<delayed_scheduler_interface>& scheduler)
88
77
{
You can’t perform that action at this time.
0 commit comments