Bug 1903 - Namespace usage in olsr-state.cc/h
Namespace usage in olsr-state.cc/h
Product: ns-3
Classification: Unclassified
Component: olsr
All All
: P5 enhancement
Assigned To: Lalith Suresh
Depends on:
  Show dependency treegraph
Reported: 2014-04-22 15:44 EDT by Konstantinos Katsaros
Modified: 2014-04-29 03:56 EDT (History)
3 users (show)

See Also:

OlsrState in olsr namespace (896 bytes, patch)
2014-04-22 15:46 EDT, Konstantinos Katsaros
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantinos Katsaros 2014-04-22 15:44:52 EDT
After a discussion with Tommaso about a problem I had with my protocol that uses the same type_def name here https://groups.google.com/d/msg/ns-3-users/d9e11tyA1x0/VfbGA2eMf24J , the solution is to not to put "use namespace .." in a header file. This patch changes olsr-state.h/cc for that reason.
Comment 1 Konstantinos Katsaros 2014-04-22 15:46:00 EDT
Created attachment 1824 [details]
OlsrState in olsr namespace
Comment 2 Tommaso Pecorella 2014-04-23 14:53:34 EDT
Comment 3 Tommaso Pecorella 2014-04-29 03:56:00 EDT
changeset:   10705:2b4472775de6