diff options
| author | Tyge Løvset <[email protected]> | 2022-04-21 13:47:54 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-04-21 13:47:54 +0200 |
| commit | d122c77b5a755cd5b3211c26346a84bb2b27cdce (patch) | |
| tree | a66aba11b04670c84cca9034e7266014e2052e8f /include/stc/cqueue.h | |
| parent | 91385d449d03145cfe8cc91f2704d4b24c63d37e (diff) | |
| download | STC-modified-d122c77b5a755cd5b3211c26346a84bb2b27cdce.tar.gz STC-modified-d122c77b5a755cd5b3211c26346a84bb2b27cdce.zip | |
Switched to use i_key as primary template type parameter for all containers. Only maps will actually use i_val.
Users can still specify i_val for non-maps, so there are no usability changes, other than the option to use i_key always, which makes the implementation and switching between container types simpler.
Diffstat (limited to 'include/stc/cqueue.h')
| -rw-r--r-- | include/stc/cqueue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/cqueue.h b/include/stc/cqueue.h index a9a2fbfa..b07582e0 100644 --- a/include/stc/cqueue.h +++ b/include/stc/cqueue.h @@ -25,7 +25,7 @@ #include <stc/crandom.h>
#include <stdio.h>
-#define i_val int
+#define i_key int
#include <stc/cqueue.h>
int main() {
|
