]> git.notmuchmail.org Git - notmuch/blobdiff - lib/message.cc
lib: make notmuch_message_get_database() take a const notmuch_message_t*
[notmuch] / lib / message.cc
index a7e8c3cac4504dc9fec59611c7c0dcdf5539dbf2..153e4bed01e370021ec508e76fe7746fc91bcddd 100644 (file)
@@ -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;
 }