aboutsummaryrefslogtreecommitdiff
path: root/odb
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-24 19:02:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-24 19:02:50 +0200
commit83a56cf2b87580cbd9d8ca0290f3f74d2dfa0492 (patch)
tree60ec8c6d58b5ac73620715fa3896eb4b27a920e3 /odb
parentfa8b674ef4cb32cb92bcc4f3d42bf24b8cf3b7fb (diff)
Add C++ signature to generated C++ files
Diffstat (limited to 'odb')
-rw-r--r--odb/generator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/generator.cxx b/odb/generator.cxx
index 6aa5151..fcbc7ee 100644
--- a/odb/generator.cxx
+++ b/odb/generator.cxx
@@ -41,6 +41,8 @@ typedef vector<cutl::shared_ptr<ofstream> > ofstreams;
namespace
{
static char const cxx_file_header[] =
+ "// -*- C++ -*-\n"
+ "//\n"
"// This file was generated by ODB, object-relational mapping (ORM)\n"
"// compiler for C++.\n"
"//\n\n";