summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen/cgram/GnuCEmitter.g
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/jogamp/gluegen/cgram/GnuCEmitter.g')
-rw-r--r--src/java/com/jogamp/gluegen/cgram/GnuCEmitter.g4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/jogamp/gluegen/cgram/GnuCEmitter.g b/src/java/com/jogamp/gluegen/cgram/GnuCEmitter.g
index 78f8d68..38ded36 100644
--- a/src/java/com/jogamp/gluegen/cgram/GnuCEmitter.g
+++ b/src/java/com/jogamp/gluegen/cgram/GnuCEmitter.g
@@ -215,7 +215,7 @@ void printAddingLineDirectives( TNode t ) {
// preserve flags 3 and 4 if present in current file
if ( ! sourceFiles.empty() ) {
LineObject l = (LineObject) sourceFiles.peek();
- StringBuffer tFlags = new StringBuffer("");
+ StringBuilder tFlags = new StringBuilder("");
if (l.getSystemHeader()) {
tFlags.append(" 3");
}
@@ -249,7 +249,7 @@ void printAddingLineDirectives( TNode t ) {
}
// put in the return flag, plus others as needed
- StringBuffer tFlags = new StringBuffer(" 2");
+ StringBuilder tFlags = new StringBuilder(" 2");
if (l.getSystemHeader()) {
tFlags.append(" 3");
}