<p>George Joseph <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/13964">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Joshua Colp: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved; Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_vpb: Fix 'catching polymorphic type ... by value' error<br><br>Fixes the following compile error:<br><br> chan_vpb.cc:2688:26: error: catching polymorphic type<br> ‘class std::exception’ by value<br><br>Change-Id: Ic87bc357d72427d77626735c83200fd278a7a649<br>---<br>M channels/chan_vpb.cc<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/channels/chan_vpb.cc b/channels/chan_vpb.cc</span><br><span>index e8cd961..fe99d5d 100644</span><br><span>--- a/channels/chan_vpb.cc</span><br><span>+++ b/channels/chan_vpb.cc</span><br><span>@@ -2691,7 +2691,7 @@</span><br><span> ast_format_cap_append(vpb_tech_indicate.capabilities, ast_format_slin, 0);</span><br><span> try {</span><br><span> num_cards = vpb_get_num_cards();</span><br><span style="color: hsl(0, 100%, 40%);">- } catch (std::exception e) {</span><br><span style="color: hsl(120, 100%, 40%);">+ } catch (std::exception&) {</span><br><span> ast_log(LOG_ERROR, "No Voicetronix cards detected\n");</span><br><span> return AST_MODULE_LOAD_DECLINE;</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/13964">change 13964</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/13964"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: Ic87bc357d72427d77626735c83200fd278a7a649 </div>
<div style="display:none"> Gerrit-Change-Number: 13964 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>