#ifndef KEY_STATE_H
#define KEY_STATE_H
+namespace lyx {
+
/// modifier key states
namespace key_modifier {
inline state operator|(state const & s1, state const & s2)
{
- int const i1(static_cast<int>(s1));
- int const i2(static_cast<int>(s2));
+ int const i1 = static_cast<int>(s1);
+ int const i2 = static_cast<int>(s2);
return static_cast<state>(i1 | i2);
}
} // namespace key_modifier
+
+} // namespace lyx
+
#endif // KEY_STATE_H