Stop using std::endl in examples
commitbcefda38072d31885dab8abcdbcf5a536d5a359a
authorOlly Betts <olly@survex.com>
Tue, 9 Aug 2022 05:38:28 +0000 (9 17:38 +1200)
committerOlly Betts <olly@survex.com>
Tue, 30 Aug 2022 05:23:28 +0000 (30 17:23 +1200)
tree6eb222b1e50ddc884744c208520f65a5f5695d98
parentc03a6e003b06ea81c41d0229b3a5454a0cb085a8
Stop using std::endl in examples

It causes a flush of the stream, which is rarely actually wanted
and often the replacement \n can be combined with a string literal.

(cherry picked from commit 3dbbc8bf88f0ebe9f92c61aaf15aa9a6ef53f201)
xapian-core/examples/copydatabase.cc
xapian-core/examples/quest.cc
xapian-core/examples/simpleexpand.cc
xapian-core/examples/simpleindex.cc
xapian-core/examples/simplesearch.cc
xapian-core/examples/xapian-metadata.cc
xapian-core/examples/xapian-pos.cc