Skip to content
Permalink
Browse files
LINT fixes since recent tooling update
  • Loading branch information
nerzhul committed Mar 14, 2019
1 parent a6a04c4 commit 02a23892f94d3c83a6bdc301defc0e7ade7e1c2b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
@@ -260,7 +260,7 @@ bool GUIModalMenu::preprocessEvent(const SEvent &event)
return retval;
}
}
// clang-format on
// clang-format on
#endif
return false;
}
@@ -33,7 +33,8 @@ using namespace irr;
using namespace irr::core;
using namespace irr::gui;

typedef enum {
typedef enum
{
jump_id = 0,
crunch_id,
zoom_id,
@@ -61,15 +62,17 @@ typedef enum {
joystick_center_id
} touch_gui_button_id;

typedef enum {
typedef enum
{
j_forward = 0,
j_backward,
j_left,
j_right,
j_special1
} touch_gui_joystick_move_id;

typedef enum {
typedef enum
{
AHBB_Dir_Top_Bottom,
AHBB_Dir_Bottom_Top,
AHBB_Dir_Left_Right,
@@ -2916,13 +2916,13 @@ class ustring16
ret[0] = unicode::BOM;
else if (endian == unicode::EUTFEE_LITTLE)
{
uchar8_t* ptr8 = reinterpret_cast<uchar8_t*>(ret.c_str());
uchar8_t* ptr8 = reinterpret_cast<uchar8_t*>(&ret[0]);
*ptr8++ = unicode::BOM_ENCODE_UTF16_LE[0];
*ptr8 = unicode::BOM_ENCODE_UTF16_LE[1];
}
else
{
uchar8_t* ptr8 = reinterpret_cast<uchar8_t*>(ret.c_str());
uchar8_t* ptr8 = reinterpret_cast<uchar8_t*>(&ret[0]);
*ptr8++ = unicode::BOM_ENCODE_UTF16_BE[0];
*ptr8 = unicode::BOM_ENCODE_UTF16_BE[1];
}
@@ -24,7 +24,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
namespace con
{

typedef enum {
typedef enum
{
MIN_RTT,
MAX_RTT,
AVG_RTT,

0 comments on commit 02a2389

Please sign in to comment.