diff options
author | JINMEI Tatuya <jinmei@isc.org> | 2010-10-15 10:59:24 +0200 |
---|---|---|
committer | JINMEI Tatuya <jinmei@isc.org> | 2010-10-15 10:59:24 +0200 |
commit | 8845466c1974166c36eaa05a53ac08fb2b660e0a (patch) | |
tree | db3082437bd9f3ae806fceec99efffe89aa4ca95 /src/lib/dns/gen-rdatacode.py.in | |
parent | cleanup: removed meaningless 'explicit' for multi-param constructors. (diff) | |
download | kea-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-x | src/lib/dns/gen-rdatacode.py.in | 3 |
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 |