[ndnSIM] adding lp packet tag of type double in ndnSIM
Sonia
zohanoor67 at gmail.com
Sat Aug 28 01:53:05 PDT 2021
Hi,
Following the instructions
https://github.com/named-data-ndnSIM/ndn-cxx/commit/e53204419c51356dab70e0e5450ff5dcf587827a
, I have added a new tag to Interest and Data packet of type uint64_t
However, the field should carry a floating-point number and I have to
change its type to double but it gives an error by just changing the int to
double. The error is
../src/ndnSIM/ndn-cxx/src/detail/../lp/field-decl.hpp:49:10: error: request
for member ‘wireDecode’ in ‘type’, which is of non-class type ‘double’
type.wireDecode(wire);
Could anybody help? I will be grateful.
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210828/861db41b/attachment.html>
More information about the ndnSIM
mailing list