From ccd98c6ad994360f46fa7acd0a24862eb4fdb852 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Fri, 5 Jun 2015 22:49:49 +0200 Subject: [PATCH] Refactor: use <<= bit shift assignment operator in wxPGProperty::GetFlagsAsString. Use it instead of << operator which is used to just shift bits in one variable. --- src/propgrid/property.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/propgrid/property.cpp b/src/propgrid/property.cpp index d72447cb49..97122b7559 100644 --- a/src/propgrid/property.cpp +++ b/src/propgrid/property.cpp @@ -1904,7 +1904,7 @@ wxString wxPGProperty::GetFlagsAsString( FlagType flagsMask ) const s << wxS("|"); s << fs; } - a = a << 1; + a <<= 1; } return s;