We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a38669 commit 5a033e5Copy full SHA for 5a033e5
src/util/irep.h
@@ -237,10 +237,16 @@ class irept
237
dt &write(bool mark_shareable)
238
{
239
#ifdef SHARING
240
- return data.write(mark_shareable);
+ dt &retval = data.write(mark_shareable);
241
#else
242
- return data;
+ dt &retval = data;
243
+#endif
244
+
245
+#ifdef HASH_CODE
246
+ retval.hash_code = 0;
247
#endif
248
249
+ return retval;
250
}
251
252
public:
0 commit comments