forked from qt-creator/qt-creator
Removed stray tokens and fixed warnings/errors when compiling with pedantic C++ compilers.
This commit is contained in:
@@ -50,7 +50,7 @@ namespace TextEditor {
|
||||
class TabSettings;
|
||||
}
|
||||
|
||||
namespace CppTools {
|
||||
namespace CppTools {
|
||||
namespace Internal {
|
||||
class CppCodeFormatterData;
|
||||
}
|
||||
@@ -170,7 +170,7 @@ public: // must be public to make Q_GADGET introspection work
|
||||
assign_open, // after an assignment token
|
||||
|
||||
expression, // after a '=' in a declaration_start once we're sure it's not '= {'
|
||||
initializer, // after a '=' in a declaration start
|
||||
initializer // after a '=' in a declaration start
|
||||
};
|
||||
Q_ENUMS(StateType)
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ public:
|
||||
|
||||
PublicSlot = Public | SlotBit,
|
||||
ProtectedSlot = Protected | SlotBit,
|
||||
PrivateSlot = Private | SlotBit,
|
||||
PrivateSlot = Private | SlotBit
|
||||
};
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user