@@ -21,11 +21,11 @@
|
||||
#ifndef SCOPEDWCHARARRAY_H
|
||||
#define SCOPEDWCHARARRAY_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
|
||||
#include "scoped_ptr.h"
|
||||
|
||||
class ScopedWCharArray {
|
||||
public:
|
||||
explicit ScopedWCharArray(const QString &str);
|
||||
@@ -42,7 +42,7 @@ class ScopedWCharArray {
|
||||
Q_DISABLE_COPY(ScopedWCharArray)
|
||||
|
||||
qint64 chars_;
|
||||
std::unique_ptr<wchar_t[]> data_;
|
||||
ScopedPtr<wchar_t[]> data_;
|
||||
};
|
||||
|
||||
#endif // SCOPEDWCHARARRAY_H
|
||||
|
||||
Reference in New Issue
Block a user