[LyX/master] Amend 48d9d01a: remove debug output
Scott Kostyshak
skostysh at lyx.org
Sun Nov 20 15:26:15 UTC 2022
On Sun, Nov 20, 2022 at 03:25:09PM +0100, Thibaut Cuvelier wrote:
> commit f3862130cf687854dbff2df348f34659ca602a02
> Author: Thibaut Cuvelier <tcuvelier at lyx.org>
> Date: Sun Nov 20 16:19:17 2022 +0100
>
> Amend 48d9d01a: remove debug output
> ---
> src/insets/InsetIndex.cpp | 6 ------
> 1 files changed, 0 insertions(+), 6 deletions(-)
>
> diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp
> index bd38cf5..f40ba03 100644
> --- a/src/insets/InsetIndex.cpp
> +++ b/src/insets/InsetIndex.cpp
> @@ -1723,12 +1723,6 @@ IndexNode* buildIndexTree(vector<IndexEntry>& entries)
> // as children.
> auto* index_root = new IndexNode{{}, {}};
> for (const IndexEntry& entry : entries) {
> - std::cout << "Entry: " << std::endl;
> - std::cout << entry.terms().empty() << std::endl;
> - std::cout << entry.terms().size() << std::endl;
> - for (const docstring& d : entry.terms()) {
> - std::cout << "\"" << to_utf8(d) << "\"" << std::endl;
> - }
> insertIntoNode(entry, index_root);
> }
>
Ah thanks for catching that. I have been wanting to track down where the
output was coming from.
Just to check, you could keep the output and just guard it with
LYX_INSET_INDEX_DEBUG if you preferred. I don't understand any of this
stuff, so do whatever you prefer.
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221120/f677e113/attachment.asc>
More information about the lyx-devel
mailing list