Bug 1603 - random-variable-stream-helper.cc:32: error: 'this' is unavailable for static member functions
random-variable-stream-helper.cc:32: error: 'this' is unavailable for static ...
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: core
pre-release
All All
: P5 normal
Assigned To: Mathieu Lacage
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-17 11:13 UTC by John Abraham
Modified: 2013-03-18 01:11 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Abraham 2013-03-17 11:13:48 UTC
we have   static int64_t AssignStreams (std::string path, int64_t stream);

but we use

int64_t RandomVariableStreamHelper::AssignStreams (std::string path, int64_t stream)
{
  NS_LOG_FUNCTION (this << path << stream);


'this' is unavailable for static member functions
Comment 1 Tom Henderson 2013-03-18 01:11:12 UTC
fixed in changeset 9d47dca16cb3