diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2019-12-17 13:22:51 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2020-01-13 16:06:43 -0500 |
commit | 9c42b4567f35aceacce1298a6d4789d6789e5bfe (patch) | |
tree | 90d698066a2f895a152bb942ecdeed5faeff50af /src/doc_reform/io_out/sqlite.d | |
parent | present per document metadata (diff) |
specify Tuple content for read in files, remove traits.std
Diffstat (limited to 'src/doc_reform/io_out/sqlite.d')
-rw-r--r-- | src/doc_reform/io_out/sqlite.d | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/doc_reform/io_out/sqlite.d b/src/doc_reform/io_out/sqlite.d index 0995fe1..c779e00 100644 --- a/src/doc_reform/io_out/sqlite.d +++ b/src/doc_reform/io_out/sqlite.d @@ -406,7 +406,7 @@ template SQLiteFormatAndLoadObject() { } return _txt; } - auto inline_notes_seg(M,O)( + Tuple!(string, string) inline_notes_seg(M,O)( M doc_matters, const O obj, string _txt, @@ -439,7 +439,7 @@ template SQLiteFormatAndLoadObject() { writeln(__LINE__, " endnote: ", obj.metainfo.is_a, ": ", obj.text); } } - auto t = tuple( + Tuple!(string, string) t = tuple( _txt, _endnotes, ); @@ -582,7 +582,7 @@ template SQLiteFormatAndLoadObject() { assert(obj.metainfo.is_of_section == "body"); assert(obj.metainfo.is_of_type == "block"); assert(obj.metainfo.is_a == "table"); - auto _tablarize(O)( + Tuple!(string, string) _tablarize(O)( const O obj, string _txt, ) { @@ -617,14 +617,14 @@ template SQLiteFormatAndLoadObject() { } _table ~= "</tr>"; } - auto t = tuple( + Tuple!(string, string) t = tuple( _table, _tablenote, ); return t; } string _txt = munge_html(doc_matters, obj); - auto t = _tablarize(obj, _txt); + Tuple!(string, string) t = _tablarize(obj, _txt); _txt = t[0]; string _note = t[1]; string o = format(q"┃<p class="%s"> |