Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
8ce39a8a
Commit
8ce39a8a
authored
Sep 13, 2009
by
Sergey Belyashov
Committed by
Oswald Buddenhagen
Sep 18, 2009
Browse files
Fixed warning about deprecated conversion from string literal to char*.
parent
1500914f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/duieditor/duicodeformatter.h
View file @
8ce39a8a
...
...
@@ -54,7 +54,7 @@ protected:
private:
void
append
(
char
c
)
{
m_result
+=
c
;
}
void
append
(
char
*
s
)
{
m_result
+=
s
;
}
void
append
(
const
char
*
s
)
{
m_result
+=
s
;
}
void
append
(
const
QString
&
s
)
{
m_result
+=
s
;
}
void
append
(
const
QmlJS
::
AST
::
SourceLocation
&
loc
)
{
m_result
+=
textAt
(
loc
);
}
void
append
(
int
pos
,
int
len
)
{
append
(
textAt
(
pos
,
len
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment