File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,8 @@ namespace details
78
78
typedef ::pplx::scoped_lock<_Spin_lock> _Scoped_spin_lock;
79
79
} // namespace details
80
80
81
- static struct _pplx_g_sched_t {
81
+ static struct _pplx_g_sched_t
82
+ {
82
83
typedef std::shared_ptr<pplx::scheduler_interface> sched_ptr;
83
84
84
85
_pplx_g_sched_t ()
@@ -108,8 +109,6 @@ static struct _pplx_g_sched_t {
108
109
}
109
110
110
111
return m_scheduler;
111
- case pre_ctor:
112
- case post_dtor:
113
112
default :
114
113
// This case means the global m_scheduler is not available.
115
114
// We spin off an individual scheduler instead.
@@ -133,7 +132,8 @@ static struct _pplx_g_sched_t {
133
132
m_scheduler = std::move (scheduler);
134
133
}
135
134
136
- enum {
135
+ enum
136
+ {
137
137
pre_ctor = 0 ,
138
138
post_ctor = 1 ,
139
139
post_dtor = 2
You can’t perform that action at this time.
0 commit comments