Date: | Wed, 01 Mar 2023 11:33:29 -0800 |
---|---|
From: | Tim Haines <noreply@xxxxxxxxxx> |
Subject: | [DynInst_API:] [dyninst/dyninst] 46ea30: Avoid possible copy in BPatch::createEnum (#1390) |
Branch: refs/heads/master Home: https://github.com/dyninst/dyninst Commit: 46ea3009e1e0e27bd035ac3152dc772bf861f3fd https://github.com/dyninst/dyninst/commit/46ea3009e1e0e27bd035ac3152dc772bf861f3fd Author: Tim Haines <thaines.astro@xxxxxxxxx> Date: 2023-03-01 (Wed, 01 Mar 2023) Changed paths: M dyninstAPI/src/BPatch.C Log Message: ----------- Avoid possible copy in BPatch::createEnum (#1390) The Type class doesn't have a user-defined copy constructor and its implicit declaration is deprecated in C++20. Rearranging the construction here removes the possibility of copying. |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [DynInst_API:] [dyninst/dyninst] 2cc19d: Fix issue with amdgpu s_nop codegen, bbiiggppiigg |
---|---|
Next by Date: | [DynInst_API:] [dyninst/dyninst], Tim Haines |
Previous by Thread: | [DynInst_API:] [dyninst/dyninst] 464ab6: fix memory counter related lines, bbiiggppiigg |
Next by Thread: | [DynInst_API:] [dyninst/dyninst] 471228: Use a ternary to avoid linker error on some gcc's, Tim Haines |
Indexes: | [Date] [Thread] |