small fixes
This commit is contained in:
@@ -63,6 +63,8 @@ class PIP_EXPORT PIConfig {
|
|||||||
friend class Branch;
|
friend class Branch;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
NO_COPY_CLASS(PIConfig);
|
||||||
|
|
||||||
//! Contructs and read configuration file at path "path" in mode "mode"
|
//! Contructs and read configuration file at path "path" in mode "mode"
|
||||||
PIConfig(const PIString & path, PIIODevice::DeviceMode mode = PIIODevice::ReadWrite);
|
PIConfig(const PIString & path, PIIODevice::DeviceMode mode = PIIODevice::ReadWrite);
|
||||||
|
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
PIIODevice * dev;
|
PIIODevice * dev = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -110,8 +110,8 @@ protected:
|
|||||||
ssize_t writeDevice(const void * data, ssize_t max_size) override;
|
ssize_t writeDevice(const void * data, ssize_t max_size) override;
|
||||||
DeviceInfoFlags deviceInfoFlags() const override { return PIIODevice::Sequential | PIIODevice::Reliable; }
|
DeviceInfoFlags deviceInfoFlags() const override { return PIIODevice::Sequential | PIIODevice::Reliable; }
|
||||||
|
|
||||||
ssize_t pos;
|
ssize_t pos = 0;
|
||||||
PIString * str;
|
PIString * str = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PIIOSTRING_H
|
#endif // PIIOSTRING_H
|
||||||
|
|||||||
Reference in New Issue
Block a user