From 10ec5e96d65b58dbe915c2d622b0bfb8abbd122b Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 21 Dec 2019 11:38:05 -0500 Subject: reduce use of auto, much with tuples --- src/doc_reform/io_out/sqlite.d | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/doc_reform/io_out/sqlite.d') diff --git a/src/doc_reform/io_out/sqlite.d b/src/doc_reform/io_out/sqlite.d index f9a17d4..e83a75f 100644 --- a/src/doc_reform/io_out/sqlite.d +++ b/src/doc_reform/io_out/sqlite.d @@ -128,7 +128,7 @@ template SQLiteDbRun() { } } template SQLinsertDelimiter() { - auto SQLinsertDelimiter(string _txt) { + string SQLinsertDelimiter(string _txt) { _txt = _txt .replaceAll(rgx.quotation_mark_sql_insert_delimiter, "$0$0"); return _txt; @@ -406,7 +406,7 @@ template SQLiteFormatAndLoadObject() { } return _txt; } - Tuple!(string, string) 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); } } - Tuple!(string, string) t = tuple( + Tuple!(string, string[]) t = tuple( _txt, _endnotes, ); -- cgit v1.2.3