From e28017e76a3ff431ee5b43e2c7d0a91b330d19d5 Mon Sep 17 00:00:00 2001 From: Nicola Baldo Date: Sat, 24 Mar 2012 11:21:20 +0100 Subject: [PATCH] lte module coding style issues pointed out by Mathieu --- src/lte/model/epc-gtpu-header.cc | 5 +++-- src/lte/model/lte-pdcp-header.h | 2 +- src/lte/model/lte-radio-bearer-tag.h | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/lte/model/epc-gtpu-header.cc b/src/lte/model/epc-gtpu-header.cc index 792e5705a..5f8e496bf 100644 --- a/src/lte/model/epc-gtpu-header.cc +++ b/src/lte/model/epc-gtpu-header.cc @@ -36,8 +36,9 @@ TypeId GtpuHeader::GetTypeId (void) { static TypeId tid = - TypeId ("ns3::GtpuHeader").SetParent
().AddConstructor< - GtpuHeader> (); + TypeId ("ns3::GtpuHeader") + .SetParent
() + .AddConstructor (); return tid; } GtpuHeader::GtpuHeader () diff --git a/src/lte/model/lte-pdcp-header.h b/src/lte/model/lte-pdcp-header.h index 6c156dd76..eb53e5d00 100644 --- a/src/lte/model/lte-pdcp-header.h +++ b/src/lte/model/lte-pdcp-header.h @@ -71,6 +71,6 @@ private: }; -}; // namespace ns3 +} // namespace ns3 #endif // LTE_PDCP_HEADER_H diff --git a/src/lte/model/lte-radio-bearer-tag.h b/src/lte/model/lte-radio-bearer-tag.h index d48672023..9a42e0f27 100644 --- a/src/lte/model/lte-radio-bearer-tag.h +++ b/src/lte/model/lte-radio-bearer-tag.h @@ -20,7 +20,7 @@ #ifndef LTE_RADIO_BEARER_TAG_H #define LTE_RADIO_BEARER_TAG_H -#include "ns3/packet.h" +#include "ns3/tag.h" namespace ns3 {