Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature #2938 pb2nc_center_time #2954

Merged
merged 2 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions src/basic/vx_util/crc_array.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ class CRC_Array {

void add(const T &);
void add(const CRC_Array <T> &);
void add_uniq(const T &, bool forward=true);
void add_css_sec(const char *);

void set(const T & val);
Expand Down Expand Up @@ -509,6 +510,22 @@ return;
////////////////////////////////////////////////////////////////////////


template <typename T>

void CRC_Array<T>::add_uniq(const T & k, bool forward)

{

if ( !has(k, forward) ) add(k);

return;

}


////////////////////////////////////////////////////////////////////////


template <typename T>

void CRC_Array<T>::add_css_sec(const char * text)
Expand Down
Loading
Loading