macros to ensure proper initialization

This commit is contained in:
Mathieu Lacage committed 2007-08-04 16:49:06 +02:00
1 parent 4d013a8d3d
commit b353cfa1c2
8 files changed
+32

No files matched your search

+2
View File
@@ -27,6 +27,8 @@
NS_DEBUG_COMPONENT_DEFINE ("EthernetHeader");
NS_HEADER_ENSURE_REGISTERED (ns3::EthernetHeader);
namespace ns3 {
uint32_t
+2
View File
@@ -26,6 +26,8 @@
NS_DEBUG_COMPONENT_DEFINE ("EthernetTrailer");
NS_TRAILER_ENSURE_REGISTERED (ns3::EthernetTrailer);
namespace ns3 {
bool EthernetTrailer::m_calcFcs = false;
+2
View File
@@ -23,6 +23,8 @@
#include "ns3/assert.h"
#include <string>
NS_HEADER_ENSURE_REGISTERED (ns3::LlcSnapHeader);
namespace ns3 {