Skip to content

Commit

Permalink
Disable MSVC warning 4127 (conditional expression is constant) raised…
Browse files Browse the repository at this point in the history
… for so instances of narrow().
  • Loading branch information
chfast committed Feb 19, 2016
1 parent abae0bd commit c292440
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/gsl_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
// turn off some misguided warnings
#pragma warning(push)
#pragma warning(disable: 4351) // warns about newly introduced aggregate initializer behavior
#pragma warning(disable: 4127) // conditional expression is constant

#endif // _MSC_VER <= 1800

Expand Down

0 comments on commit c292440

Please sign in to comment.