summaryrefslogtreecommitdiff
path: root/cpp/src/slice2py/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2py/Main.cpp')
-rw-r--r--cpp/src/slice2py/Main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/slice2py/Main.cpp b/cpp/src/slice2py/Main.cpp
index 9a7fac7a99f..3af0f9b217b 100644
--- a/cpp/src/slice2py/Main.cpp
+++ b/cpp/src/slice2py/Main.cpp
@@ -571,8 +571,7 @@ compile(int argc, char* argv[])
FileTracker::instance()->addFile(file);
printHeader(out);
- out << "\n# Generated from file `" << base << ".ice'\n";
-
+ printGeneratedHeader(out, base + ".ice", "#");
//
// Generate the Python mapping.
//