diff options
| author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2018-05-11 02:57:54 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2018-05-26 07:32:01 -0700 |
| commit | 6a9f26b4a04e20529203938a99658516876c67f3 (patch) | |
| tree | 348a9915a8f22edff0a9b9e0f1cb2ae167e30d4b /lib/message.cc | |
| parent | 499bb78178df86ceae82893fbc272c4dd1870b6c (diff) | |
lib: make notmuch_message_get_database() take a const notmuch_message_t*
This is technically an API change, but it is not an ABI change, and
it's merely a statement that limits what the library can do.
This is in parallel to notmuch_query_get_database(), which also takes
a const pointer.
Diffstat (limited to 'lib/message.cc')
| -rw-r--r-- | lib/message.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/message.cc b/lib/message.cc index a7e8c3ca..153e4bed 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -1925,7 +1925,7 @@ notmuch_message_destroy (notmuch_message_t *message) } notmuch_database_t * -notmuch_message_get_database (notmuch_message_t *message) +notmuch_message_get_database (const notmuch_message_t *message) { return message->notmuch; } |
