summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2022-04-21 07:11:33 +0200
committerTyge Lovset <[email protected]>2022-04-21 07:11:33 +0200
commit91385d449d03145cfe8cc91f2704d4b24c63d37e (patch)
tree2b7daad7cb188d51f66b90476e88fe0b81b714cd
parent684017fc495c797046ca1afdb4df12a5289005d1 (diff)
downloadSTC-modified-91385d449d03145cfe8cc91f2704d4b24c63d37e.tar.gz
STC-modified-91385d449d03145cfe8cc91f2704d4b24c63d37e.zip
Fixed missing i_valclone -> i_keyclone copy when specifying i_val for sets (instead of i_key).
-rw-r--r--include/stc/template.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/stc/template.h b/include/stc/template.h
index d56ce1ce..8d8bd6dc 100644
--- a/include/stc/template.h
+++ b/include/stc/template.h
@@ -160,6 +160,9 @@
#if defined i_valraw && !defined i_keyraw
#define i_keyraw i_valraw
#endif
+ #if defined i_valclone && !defined i_keyclone
+ #define i_keyclone i_valclone
+ #endif
#if defined i_valfrom && !defined i_keyfrom
#define i_keyfrom i_valfrom
#endif