File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -2401,10 +2401,6 @@ istream & operator>>(istream & is, EnumAB & val) {
2401
2401
return is;
2402
2402
}
2403
2403
2404
- #ifdef TEST_EXPLICIT_IMBUE
2405
- static locale s_loc (" en_US" );
2406
- #endif
2407
-
2408
2404
// ===========================================================================
2409
2405
void unitsTests () {
2410
2406
int line = 0 ;
@@ -2486,6 +2482,9 @@ Units symbol 'k' not recognized.
2486
2482
EXPECT (*sv == " 1000000" );
2487
2483
2488
2484
auto & si = cli.opt <int >(" i" ).siUnits ();
2485
+ #ifdef TEST_EXPLICIT_IMBUE
2486
+ static locale s_loc (" en_US" );
2487
+ #endif
2489
2488
#if defined(TEST_EXPLICIT_IMBUE)
2490
2489
si.imbue (s_loc);
2491
2490
#endif
@@ -2526,6 +2525,9 @@ Usage: test [OPTIONS] [V...]
2526
2525
{
2527
2526
cli = {};
2528
2527
auto & sht = cli.opt <uint16_t >(" s" ).timeUnits ();
2528
+ #ifdef TEST_EXPLICIT_IMBUE
2529
+ static locale s_loc (" en_US" );
2530
+ #endif
2529
2531
#if defined(TEST_EXPLICIT_IMBUE)
2530
2532
sht.imbue (s_loc);
2531
2533
#endif
You can’t perform that action at this time.
0 commit comments