]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei_xsearch: load PublicInbox::Smsg
authorEric Wong <e@80x24.org>
Mon, 1 Feb 2021 08:28:22 +0000 (22:28 -1000)
committerEric Wong <e@80x24.org>
Mon, 1 Feb 2021 11:38:16 +0000 (11:38 +0000)
We use $smsg->populate here, so ensure it's loaded although
PublicInbox::Search currently loads it.

lib/PublicInbox/LeiXSearch.pm

index b4a9b89dc169f9f9f2a0f132cfb8b32c91c8ef52..4d390ee4661444d403ad3f45fdcbb7b32868a3fb 100644 (file)
@@ -16,6 +16,7 @@ use File::Spec ();
 use PublicInbox::Search qw(xap_terms);
 use PublicInbox::Spawn qw(popen_rd spawn which);
 use PublicInbox::MID qw(mids);
+use PublicInbox::Smsg;
 use Fcntl qw(SEEK_SET F_SETFL O_APPEND O_RDWR);
 
 sub new {