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 ea21288 commit 435a064Copy full SHA for 435a064
crates/cxx-qt-lib-headers/include/common.h
@@ -91,23 +91,23 @@ operatorDiv(const S scalar, const T& t)
91
92
template<typename T, typename... Args>
93
std::unique_ptr<T>
94
-make_unique(Args&&... args)
+make_unique(Args... args)
95
{
96
return std::make_unique<T>(std::forward<Args>(args)...);
97
}
98
99
100
std::shared_ptr<T>
101
-make_shared(Args&&... args)
+make_shared(Args... args)
102
103
return std::make_shared<T>(std::forward<Args>(args)...);
104
105
106
107
T*
108
-new_ptr(Args&&... args)
+new_ptr(Args... args)
109
110
- return new T(std::forward<Args>(args)...)
+ return new T(std::forward<Args>(args)...);
111
112
113
} // namespace cxxqtlib1
0 commit comments