unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* simplify handling of writable database modes
@ 2020-07-26 23:31 David Bremner
  2020-07-26 23:31 ` [PATCH 1/3] lib: drop two gratuitous assignments to database mode David Bremner
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: David Bremner @ 2020-07-26 23:31 UTC (permalink / raw)
  To: notmuch

As the last commit message mentions, it is a bit hard to be sure one
is using static_cast correctly, so this series eliminates
the use of static_cast for Xapian database objects.

As a bonus, it deletes more code than it adds.

Based on a suggestion from Olly Betts.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-28 11:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-26 23:31 simplify handling of writable database modes David Bremner
2020-07-26 23:31 ` [PATCH 1/3] lib: drop two gratuitous assignments to database mode David Bremner
2020-07-26 23:31 ` [PATCH 2/3] lib: encapsulate the use of notmuch_database_t field 'mode' David Bremner
2020-07-26 23:31 ` [PATCH 3/3] lib: replace use of static_cast for writable databases David Bremner
2020-07-27 16:58 ` simplify handling of writable database modes Tomi Ollila
2020-07-28 11:52   ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).