<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" id="owaParaStyle" style="display: none;"><!--P {margin-top:0;margin-bottom:0;}--></style>
</head>
<body dir="ltr" fpstyle="1" aria-label="Message body" tabindex="0">
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0">
Hi,
<div><br>
</div>
<div>In ndn-forwading-strategy.h, I declared variable.</div>
<div><font color="#808080">std::set<Name>  m_allowCS;</font></div>
<div><br>
</div>
<div>and tried to access in one of the applications by following code</div>
<div>
<div><font color="#808080">Ptr<ForwardingStrategy> forwardingstat = GetNode()->GetObject<ForwardingStrategy>();</font></div>
<div><font color="#808080">Ptr<Name> inName = Create<ndn::Name> ("/prefix");</font></div>
<div><font color="#808080">forwardingstat->m_allowCS.insert(*inName);</font></div>
</div>
<div><br>
</div>
<div>This compiles fine.</div>
<div>but once I run this, simulator exit without any output. Could you point out what's wrong.</div>
<div><br>
</div>
<div>Many Thanks,</div>
<div>Isuru</div>
</div>
</body>
</html>