OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50a3195
)
remove shared pointer tracking leftovers
author
Ivailo Monev
<xakepa10@gmail.com>
Wed, 20 Jan 2021 23:45:35 +0000
(
01:45
+0200)
committer
Ivailo Monev
<xakepa10@gmail.com>
Wed, 20 Jan 2021 23:45:35 +0000
(
01:45
+0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/tools/qsharedpointer.h
patch
|
blob
|
history
diff --git
a/src/core/tools/qsharedpointer.h
b/src/core/tools/qsharedpointer.h
index
f80d51b
..
de3c4ed
100644
(file)
--- a/
src/core/tools/qsharedpointer.h
+++ b/
src/core/tools/qsharedpointer.h
@@
-293,15
+293,11
@@
namespace QtSharedPointer {
inline void internalConstruct(T *ptr)
{
-#ifdef QT_SHAREDPOINTER_TRACK_POINTERS
- internalConstruct<void (*)(T *)>(ptr, normalDeleter);
-#else
if (ptr)
d = new Data;
else
d = Q_NULLPTR;
internalFinishConstruction(ptr);
-#endif
}
template <typename Deleter>