Skip to content

Commit

Permalink
Fix deprecated bitwise operations between different enum types in WTa…
Browse files Browse the repository at this point in the history
…bleWidget
  • Loading branch information
iarspider committed Jun 4, 2024
1 parent a9682e8 commit 3a7381d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Fireworks/TableWidget/src/FWTableWidget.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@
//
// constants, enums and typedefs
//
static const UInt_t kRowOptions = kLHintsExpandX | kLHintsFillX | kLHintsShrinkX;
static const UInt_t kColOptions = kLHintsExpandY | kLHintsFillY | kLHintsShrinkY;
static const UInt_t kRowOptions =
static_cast<UInt_t>(kLHintsExpandX) | static_cast<UInt_t>(kLHintsFillX) | static_cast<UInt_t>(kLHintsShrinkX);
static const UInt_t kColOptions =
static_cast<UInt_t>(kLHintsExpandY) | static_cast<UInt_t>(kLHintsFillY) | static_cast<UInt_t>(kLHintsShrinkY);

//
// static data member definitions
Expand Down

0 comments on commit 3a7381d

Please sign in to comment.