Skip to content

Commit

Permalink
namespace fix (omnetpp 5.x compatibility fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoltanBojthe authored and rhornig committed Apr 6, 2016
1 parent 5113cf8 commit 0bacd6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/inet/linklayer/ieee80211/oldmac/Ieee80211OldMac.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace ieee80211 {
Define_Module(Ieee80211OldMac);

// don't forget to keep synchronized the C++ enum and the runtime enum definition
Register_Enum(inet::Ieee80211OldMac,
Register_Enum(inet::ieee80211::Ieee80211OldMac,
(Ieee80211OldMac::IDLE,
Ieee80211OldMac::DEFER,
Ieee80211OldMac::WAITAIFS,
Expand Down Expand Up @@ -290,7 +290,7 @@ void Ieee80211OldMac::initialize(int stage)
timeStampLastMessageReceived = SIMTIME_ZERO;

stateVector.setName("State");
stateVector.setEnum("inet::Ieee80211OldMac");
stateVector.setEnum("inet::ieee80211::Ieee80211OldMac");
for (int i = 0; i < numCategories(); i++) {
EdcaOutVector outVectors;
std::stringstream os;
Expand Down

0 comments on commit 0bacd6b

Please sign in to comment.