Commit f5203b67 authored by hjk's avatar hjk Committed by hjk
Browse files

preprocessor: make PPToken inlineable.



Change-Id: Ie86b4ff4a6f1987a15fcc46e8de9db487af1729a
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent b79f13df
...@@ -32,9 +32,6 @@ int ByteArrayRef::count(char ch) const ...@@ -32,9 +32,6 @@ int ByteArrayRef::count(char ch) const
return num; return num;
} }
PPToken::PPToken()
{}
void PPToken::squeeze() void PPToken::squeeze()
{ {
if (isValid()) { if (isValid()) {
......
...@@ -73,7 +73,7 @@ inline bool operator!=(const QByteArray &other, const ByteArrayRef &ref) ...@@ -73,7 +73,7 @@ inline bool operator!=(const QByteArray &other, const ByteArrayRef &ref)
class CPLUSPLUS_EXPORT PPToken: public Token class CPLUSPLUS_EXPORT PPToken: public Token
{ {
public: public:
PPToken(); PPToken() {}
PPToken(const QByteArray &src) PPToken(const QByteArray &src)
: m_src(src) : m_src(src)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment