diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-12-28 19:15:40 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-02-01 13:58:13 +0100 |
commit | ed2dbf6954b9883218f5ace1d801c0e316df912a (patch) | |
tree | 1f8a44144bacbad9ca3d7bd947a5a2c8d1cbd726 /src/rlc.h | |
parent | bf49f042d432780fe37c53aed5e4e3f34ac80793 (diff) |
tbf: Use LListHead instead of llist_pods
LListHead does basically the same like llist_pods, but more C++ish
and with type safety.
This commit turns the former list field of gprs_rlcmac_tbf into a
private field, provides accessors, moves the related code from
pcu_vty.c to pcu_vty_functions.cpp, and removes the llist_pods
type and related code.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/rlc.h')
-rw-r--r-- | src/rlc.h | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -136,11 +136,7 @@ private: /** - * TODO: The UL/DL code could/should share a baseclass but - * we are using llist_for_each_entry for the TBF which - * requires everything which creates a requirement for a POD - * type and in < C++11 something that is using even if the - * most simple form of inheritance is not a POD anymore. + * TODO: The UL/DL code could/should share a base class. */ struct gprs_rlc_dl_window { void reset(); |