--- a/src/core/model/simulator.h Wed Feb 04 12:35:17 2015 -0800
+++ b/src/core/model/simulator.h Wed Feb 04 13:40:57 2015 -0800
@@ -62,7 +62,7 @@
* expire first.
*
* A simple example of how to use the Simulator class to schedule events
- * is shown in sample-simulator.cc ::
+ * is shown in sample-simulator.cc:
* \include src/core/examples/sample-simulator.cc
*
* \todo Define what the simulation or event context means.
--- a/src/core/test/hash-test-suite.cc Wed Feb 04 12:35:17 2015 -0800
+++ b/src/core/test/hash-test-suite.cc Wed Feb 04 13:40:57 2015 -0800
@@ -45,7 +45,7 @@
virtual void DoRun (void);
}; // class HashTestCase
-HashTestCase::HashTestCase (const std:: string name)
+HashTestCase::HashTestCase (const std::string name)
: TestCase (name),
key ("The quick brown fox jumped over the lazy dogs.")
{
--- a/src/internet/model/icmpv6-l4-protocol.h Wed Feb 04 12:35:17 2015 -0800
+++ b/src/internet/model/icmpv6-l4-protocol.h Wed Feb 04 13:40:57 2015 -0800
@@ -393,7 +393,7 @@
* \brief Send a Router Solicitation.
* \param src link-local source address
* \param dst destination address (usealy ff02::2 i.e all-routers)
- * \param hardwareAddress link-layer address (SHOULD be included if src is not ::
+ * \param hardwareAddress link-layer address (SHOULD be included if src is not ::)
*/
void SendRS (Ipv6Address src, Ipv6Address dst, Address hardwareAddress);
--- a/src/internet/model/ipv6-pmtu-cache.h Wed Feb 04 12:35:17 2015 -0800
+++ b/src/internet/model/ipv6-pmtu-cache.h Wed Feb 04 13:40:57 2015 -0800
@@ -111,7 +111,7 @@
/**
* \brief Container of the IPv6 PMTU data (Ipv6 destination address and expiration event).
*/
- typedef std::map<Ipv6Address, EventId> ::iterator pathMtuTimerIter;
+ typedef std::map<Ipv6Address, EventId>::iterator pathMtuTimerIter;
/**
* \brief Path MTU Expiration table
--- a/src/lte/model/lte-harq-phy.cc Wed Feb 04 12:35:17 2015 -0800
+++ b/src/lte/model/lte-harq-phy.cc Wed Feb 04 13:40:57 2015 -0800
@@ -56,7 +56,7 @@
NS_LOG_FUNCTION (this);
// left shift UL HARQ buffers
- std::map <uint16_t, std::vector <HarqProcessInfoList_t> >:: iterator it;
+ std::map <uint16_t, std::vector <HarqProcessInfoList_t> >::iterator it;
for (it = m_miUlHarqProcessesInfoMap.begin (); it != m_miUlHarqProcessesInfoMap.end (); it++)
{
(*it).second.erase ((*it).second.begin ());
--- a/src/lte/test/test-asn1-encoding.cc Wed Feb 04 12:35:17 2015 -0800
+++ b/src/lte/test/test-asn1-encoding.cc Wed Feb 04 13:40:57 2015 -0800
@@ -100,12 +100,12 @@
Ptr<Packet> packet;
};
-RrcHeaderTestCase :: RrcHeaderTestCase (std::string s) : TestCase (s)
+RrcHeaderTestCase::RrcHeaderTestCase (std::string s) : TestCase (s)
{
}
LteRrcSap::RadioResourceConfigDedicated
-RrcHeaderTestCase :: CreateRadioResourceConfigDedicated ()
+RrcHeaderTestCase::CreateRadioResourceConfigDedicated ()
{
LteRrcSap::RadioResourceConfigDedicated rrd;
@@ -159,7 +159,7 @@
}
void
-RrcHeaderTestCase :: AssertEqualRadioResourceConfigDedicated (LteRrcSap::RadioResourceConfigDedicated rrcd1, LteRrcSap::RadioResourceConfigDedicated rrcd2)
+RrcHeaderTestCase::AssertEqualRadioResourceConfigDedicated (LteRrcSap::RadioResourceConfigDedicated rrcd1, LteRrcSap::RadioResourceConfigDedicated rrcd2)
{
NS_TEST_ASSERT_MSG_EQ (rrcd1.srbToAddModList.size (), rrcd2.srbToAddModList.size (),"SrbToAddModList different sizes");
--- a/src/network/utils/ascii-file.cc Wed Feb 04 12:35:17 2015 -0800
+++ b/src/network/utils/ascii-file.cc Wed Feb 04 13:40:57 2015 -0800
@@ -80,9 +80,9 @@
}
bool
-AsciiFile:: Diff (std::string const & f1,
- std::string const & f2,
- uint64_t & lineNumber)
+AsciiFile::Diff (std::string const & f1,
+ std::string const & f2,
+ uint64_t & lineNumber)
{
AsciiFile ascii1, ascii2;
ascii1.Open (f1, std::ios::in);
--- a/src/spectrum/model/spectrum-value.cc Wed Feb 04 12:35:17 2015 -0800
+++ b/src/spectrum/model/spectrum-value.cc Wed Feb 04 13:40:57 2015 -0800
@@ -39,13 +39,13 @@
}
double&
-SpectrumValue:: operator[] (size_t index)
+SpectrumValue::operator[] (size_t index)
{
return m_values.at (index);
}
const double&
-SpectrumValue:: operator[] (size_t index) const
+SpectrumValue::operator[] (size_t index) const
{
return m_values.at (index);
}
@@ -598,28 +598,28 @@
}
SpectrumValue&
-SpectrumValue:: operator+= (const SpectrumValue& rhs)
+SpectrumValue::operator+= (const SpectrumValue& rhs)
{
Add (rhs);
return *this;
}
SpectrumValue&
-SpectrumValue:: operator-= (const SpectrumValue& rhs)
+SpectrumValue::operator-= (const SpectrumValue& rhs)
{
Subtract (rhs);
return *this;
}
SpectrumValue&
-SpectrumValue:: operator*= (const SpectrumValue& rhs)
+SpectrumValue::operator*= (const SpectrumValue& rhs)
{
Multiply (rhs);
return *this;
}
SpectrumValue&
-SpectrumValue:: operator/= (const SpectrumValue& rhs)
+SpectrumValue::operator/= (const SpectrumValue& rhs)
{
Divide (rhs);
return *this;
@@ -627,28 +627,28 @@
SpectrumValue&
-SpectrumValue:: operator+= (double rhs)
+SpectrumValue::operator+= (double rhs)
{
Add (rhs);
return *this;
}
SpectrumValue&
-SpectrumValue:: operator-= (double rhs)
+SpectrumValue::operator-= (double rhs)
{
Subtract (rhs);
return *this;
}
SpectrumValue&
-SpectrumValue:: operator*= (double rhs)
+SpectrumValue::operator*= (double rhs)
{
Multiply (rhs);
return *this;
}
SpectrumValue&
-SpectrumValue:: operator/= (double rhs)
+SpectrumValue::operator/= (double rhs)
{
Divide (rhs);
return *this;
@@ -656,7 +656,7 @@
SpectrumValue&
-SpectrumValue:: operator= (double rhs)
+SpectrumValue::operator= (double rhs)
{
Values::iterator it1 = m_values.begin ();
@@ -671,7 +671,7 @@
SpectrumValue
-SpectrumValue:: operator<< (int n) const
+SpectrumValue::operator<< (int n) const
{
SpectrumValue res = *this;
res.ShiftLeft (n);
@@ -679,7 +679,7 @@
}
SpectrumValue
-SpectrumValue:: operator>> (int n) const
+SpectrumValue::operator>> (int n) const
{
SpectrumValue res = *this;
res.ShiftRight (n);
--- a/src/wave/test/mac-extension-test-suite.cc Wed Feb 04 12:35:17 2015 -0800
+++ b/src/wave/test/mac-extension-test-suite.cc Wed Feb 04 13:40:57 2015 -0800
@@ -189,7 +189,7 @@
Simulator::Schedule (MilliSeconds (5), &ChannelCoordinationTestCase::TestIntervalAfter, this, true, false, false);
Simulator::Schedule (MilliSeconds (50), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, true);
Simulator::Schedule (MilliSeconds (51), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, true);
- Simulator::Schedule (MilliSeconds (53), &ChannelCoordinationTestCase:: TestIntervalAfter, this, false, true, true);
+ Simulator::Schedule (MilliSeconds (53), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, true);
Simulator::Schedule (MilliSeconds (54), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, false);
Simulator::Schedule (MilliSeconds (55), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, false);
Simulator::Schedule (MilliSeconds (100), &ChannelCoordinationTestCase::TestIntervalAfter, this, true, false, true);
@@ -200,7 +200,7 @@
Simulator::Schedule (MilliSeconds (205), &ChannelCoordinationTestCase::TestIntervalAfter, this, true, false, false);
Simulator::Schedule (MilliSeconds (250), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, true);
Simulator::Schedule (MilliSeconds (251), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, true);
- Simulator::Schedule (MilliSeconds (253), &ChannelCoordinationTestCase:: TestIntervalAfter, this, false, true, true);
+ Simulator::Schedule (MilliSeconds (253), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, true);
Simulator::Schedule (MilliSeconds (254), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, false);
Simulator::Schedule (MilliSeconds (255), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, false);
Simulator::Schedule (MilliSeconds (300), &ChannelCoordinationTestCase::TestIntervalAfter, this, true, false, true);