Fixed test output, use nullptr/delete, fixed typo in comments#2440
Conversation
* ACE/tests/Time_Value_Test.cpp:
* TAO/tao/DynamicAny/DynAnyUtils_T.cpp:
* TAO/tao/DynamicAny/DynAny_i.h:
* TAO/tao/DynamicAny/DynArray_i.h:
* TAO/tao/DynamicAny/DynEnum_i.h:
* TAO/tao/DynamicAny/DynStruct_i.h:
* TAO/tao/DynamicAny/DynUnion_i.h:
* TAO/tao/DynamicAny/DynValueBox_i.h:
* TAO/tao/DynamicAny/DynValueCommon_i.h:
* TAO/tao/DynamicAny/DynValue_i.cpp:
* TAO/tao/DynamicAny/DynValue_i.h:
* TAO/tests/DynValue_Test/Analyzer.h:
WalkthroughThis set of changes primarily updates several classes in the TAO DynamicAny module to explicitly delete their copy constructors and assignment operators, enforcing non-copyable semantics at compile time. Additional minor updates include correcting pointer initialization to use Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant DynAnyClass
Note over User, DynAnyClass: Attempt to copy or assign a DynAny class instance
User->>DynAnyClass: Copy or assign (e.g. via copy constructor)
DynAnyClass-->>User: Compilation error (operation explicitly deleted)
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (12)
🧰 Additional context used🧠 Learnings (5)TAO/tao/DynamicAny/DynStruct_i.h (2)Learnt from: jwillemsen Learnt from: jwillemsen TAO/tao/DynamicAny/DynEnum_i.h (2)Learnt from: jwillemsen Learnt from: jwillemsen TAO/tao/DynamicAny/DynValueCommon_i.h (2)Learnt from: jwillemsen Learnt from: jwillemsen TAO/tao/DynamicAny/DynArray_i.h (2)Learnt from: jwillemsen Learnt from: jwillemsen TAO/tao/DynamicAny/DynAny_i.h (2)Learnt from: jwillemsen Learnt from: jwillemsen 🧬 Code Graph Analysis (5)TAO/tao/DynamicAny/DynStruct_i.h (1)
TAO/tao/DynamicAny/DynValue_i.h (1)
TAO/tao/DynamicAny/DynValueBox_i.h (1)
TAO/tao/DynamicAny/DynArray_i.h (1)
TAO/tao/DynamicAny/DynAny_i.h (1)
🔇 Additional comments (16)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit
Bug Fixes
Refactor
Style