summaryrefslogtreecommitdiff
path: root/DevTools/IPCCompiler/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'DevTools/IPCCompiler/main.cpp')
-rw-r--r--DevTools/IPCCompiler/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/DevTools/IPCCompiler/main.cpp b/DevTools/IPCCompiler/main.cpp
index 3093b9af7d..e1b78d93e5 100644
--- a/DevTools/IPCCompiler/main.cpp
+++ b/DevTools/IPCCompiler/main.cpp
@@ -366,13 +366,15 @@ int main(int argc, char** argv)
String return_type = "void";
if (message.is_synchronous) {
StringBuilder builder;
+ builder.append("OwnPtr<");
builder.append(endpoint.name);
builder.append("::");
builder.append(message.name);
builder.append("Response");
+ builder.append(">");
return_type = builder.to_string();
}
- dbg() << " virtual OwnPtr<" << return_type << "> handle(const " << endpoint.name << "::" << message.name << "&) = 0;";
+ dbg() << " virtual " << return_type << " handle(const " << endpoint.name << "::" << message.name << "&) = 0;";
}
dbg() << "private:";