Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 3.5.1, Qt Creator 3.6.0-beta1
-
None
-
Ubuntu 14.04 running in VMware Player 7.1.2 build-2780323
Mac OS 10.11.1 running Xcode 7.0 / clang 7.0.0
Description
Just typing the following code (without even saving the file) causes 1 of 4 CPU cores go to 100% load. After a minute or so, all 4 cores are 100%.
p->any_member_function();
p is declared as unique_ptr<Base>.
Derived class is defined as follows:
template<class T>
struct Derived : Base
unique_ptr<plain old data struct> does not cause any issues.
Attachments
Issue Links
- replaces
-
QTCREATORBUG-15308 CPU is hogged when using std::vector of std::unique_ptrs
- Closed