summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/gen-rdatacode.py.in
diff options
context:
space:
mode:
authorJINMEI Tatuya <jinmei@isc.org>2010-10-15 10:59:24 +0200
committerJINMEI Tatuya <jinmei@isc.org>2010-10-15 10:59:24 +0200
commit8845466c1974166c36eaa05a53ac08fb2b660e0a (patch)
treedb3082437bd9f3ae806fceec99efffe89aa4ca95 /src/lib/dns/gen-rdatacode.py.in
parentcleanup: removed meaningless 'explicit' for multi-param constructors. (diff)
downloadkea-8845466c1974166c36eaa05a53ac08fb2b660e0a.tar.xz
kea-8845466c1974166c36eaa05a53ac08fb2b660e0a.zip
overall style cleanup: adjusted brace positions according to the coding guideline.
skipping review. confirmed it compiled. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3225 e5f2f494-b856-4b98-b285-d166d9295462
Diffstat (limited to 'src/lib/dns/gen-rdatacode.py.in')
-rwxr-xr-xsrc/lib/dns/gen-rdatacode.py.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/dns/gen-rdatacode.py.in b/src/lib/dns/gen-rdatacode.py.in
index b154d4c7af..c684384f5d 100755
--- a/src/lib/dns/gen-rdatacode.py.in
+++ b/src/lib/dns/gen-rdatacode.py.in
@@ -219,8 +219,7 @@ def generate_typeclasscode(fileprefix, basemtime, code2txt, type_or_class):
codetxt = code2txt[code].upper()
declarationtxt += ' ' * 4 + 'static const RR' + cap_key + '& ' + codetxt + '();\n'
deftxt += '''inline const RR''' + cap_key + '''&
-RR''' + cap_key + '''::''' + codetxt + '''()
-{
+RR''' + cap_key + '''::''' + codetxt + '''() {
static RR''' + cap_key + ''' ''' + lower_key + '''(''' + code + ''');
return (''' + lower_key + ''');
}\n