Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdedf276

Browse files
committed
Fixing call to get_part_kind in MIME.
1 parente173b8a commitdedf276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎boost/mime.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ class basic_mime {
658658
voidcheck_subpart_index (size_t idx )const {
659659
if (get_part_kind () == simple_part )
660660
throwstd::runtime_error ("Simple Mime parts don't have sub-parts" );
661-
elseif ( get_part_kind == multi_part ) {
661+
elseif (get_part_kind()== multi_part ) {
662662
if ( idx >= m_subparts.size ())
663663
throwstd::runtime_error (
664664
str (boost::format ("Trying to access part %d (of %d) sub-part to a multipart/xxx mime part" ) % idx % m_subparts.size ()));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp