Commit fa9b3f55 authored by claes's avatar claes

*** empty log message ***

parent dfd2baa3
......@@ -55,7 +55,7 @@ void wb_merep::removeDbs(pwr_tStatus *sts, wb_mvrep *mvrep)
wb_cdrep *wb_merep::cdrep( pwr_tStatus *sts, const wb_orep& o)
{
if ( o.vrep() != m_vrep)
if ( m_erep && o.vrep() != m_vrep)
// Fetch from other meta environment
return m_erep->cdrep( sts, o);
......@@ -108,7 +108,7 @@ wb_cdrep *wb_merep::cdrep( pwr_tStatus *sts, wb_name name)
wb_tdrep *wb_merep::tdrep( pwr_tStatus *sts, const wb_adrep& a)
{
if ( a.vrep() != m_vrep)
if ( m_erep && a.vrep() != m_vrep)
// Fetch from other meta environment
return m_erep->tdrep( sts, a);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment