<p>Sean Bright has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/13942">View Change</a></p><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;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/42/13942/1</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 92d9287..e858939 100644</span><br><span>--- a/channels/chan_vpb.cc</span><br><span>+++ b/channels/chan_vpb.cc</span><br><span>@@ -2685,7 +2685,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/+/13942">change 13942</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/+/13942"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-Change-Id: Ic87bc357d72427d77626735c83200fd278a7a649 </div>
<div style="display:none"> Gerrit-Change-Number: 13942 </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-MessageType: newchange </div>