Skip to content

Commit 09910c9

Browse files
committed
Remove code deprecated in ns-3.40
1 parent 0ef77ea commit 09910c9

File tree

9 files changed

+1
-759
lines changed

9 files changed

+1
-759
lines changed

doc/doxygen.conf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2304,8 +2304,7 @@ EXPAND_AS_DEFINED = ATTRIBUTE_ACCESSOR_DEFINE \
23042304
NS_DEPRECATED_3_44 \
23052305
NS_DEPRECATED_3_43 \
23062306
NS_DEPRECATED_3_42 \
2307-
NS_DEPRECATED_3_41 \
2308-
NS_DEPRECATED_3_40
2307+
NS_DEPRECATED_3_41
23092308

23102309
# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
23112310
# remove all references to function-like macros that are alone on a line, have

src/core/model/deprecated.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,4 @@
125125
*/
126126
#define NS_DEPRECATED_3_41(msg) NS_DEPRECATED("Deprecated in ns-3.41: " msg)
127127

128-
/**
129-
* @ingroup deprecation
130-
* @def NS_DEPRECATED_3_40
131-
* Tag for things deprecated in version ns-3.40.
132-
*/
133-
#define NS_DEPRECATED_3_40(msg) NS_DEPRECATED("Deprecated in ns-3.40: " msg)
134-
135128
#endif /* NS3_DEPRECATED_H */

src/energy/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ build_lib(
1717
model/energy-harvester.cc
1818
model/energy-source.cc
1919
model/generic-battery-model.cc
20-
model/li-ion-energy-source.cc
2120
model/rv-battery-model.cc
2221
model/simple-device-energy-model.cc
2322
HEADER_FILES
@@ -37,10 +36,8 @@ build_lib(
3736
model/energy-harvester.h
3837
model/energy-source.h
3938
model/generic-battery-model.h
40-
model/li-ion-energy-source.h
4139
model/rv-battery-model.h
4240
model/simple-device-energy-model.h
4341
LIBRARIES_TO_LINK ${libnetwork}
4442
TEST_SOURCES test/basic-energy-harvester-test.cc
45-
test/li-ion-energy-source-test.cc
4643
)

src/energy/examples/CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ build_lib_example(
1717
${libwifi}
1818
)
1919

20-
build_lib_example(
21-
NAME li-ion-energy-source-example
22-
SOURCE_FILES li-ion-energy-source-example.cc
23-
LIBRARIES_TO_LINK ${libcore}
24-
${libenergy}
25-
)
26-
2720
build_lib_example(
2821
NAME rv-battery-model-test
2922
SOURCE_FILES rv-battery-model-test.cc

src/energy/examples/li-ion-energy-source-example.cc

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)