remove dead code
This commit is contained in:
@@ -255,7 +255,6 @@ node.add_sources ([
|
||||
'random-walk-2d-mobility-model.cc',
|
||||
'hierarchical-mobility-model.cc',
|
||||
'ns2-mobility-file-topology.cc',
|
||||
'position-2d.cc',
|
||||
'position.cc',
|
||||
'random-position.cc',
|
||||
'speed.cc',
|
||||
@@ -290,7 +289,6 @@ node.add_inst_headers ([
|
||||
'random-walk-2d-mobility-model.h',
|
||||
'hierarchical-mobility-model.h',
|
||||
'ns2-mobility-file-topology.h',
|
||||
'position-2d.h',
|
||||
'position.h',
|
||||
'random-position.h',
|
||||
'speed.h',
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
#include "position-2d.h"
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
Position2d::Position2d (double _x, double _y)
|
||||
: x (_x),
|
||||
y (_y)
|
||||
{}
|
||||
|
||||
} // namespace ns3
|
||||
@@ -1,16 +0,0 @@
|
||||
#ifndef POSITION_2D_H
|
||||
#define POSITION_2D_H
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
class Position2d
|
||||
{
|
||||
public:
|
||||
Position2d (double x, double y);
|
||||
double x;
|
||||
double y;
|
||||
};
|
||||
|
||||
} // namespace ns3
|
||||
|
||||
#endif /* POSITION_2D_H */
|
||||
Reference in New Issue
Block a user