mirror of
https://github.com/audacity/linuxdeploy.git
synced 2026-06-30 01:15:49 -05:00
Allow construction from istream
This commit is contained in:
@@ -48,6 +48,10 @@ DesktopFileReader::DesktopFileReader(boost::filesystem::path path) : DesktopFile
|
||||
d->parse(ifs);
|
||||
}
|
||||
|
||||
DesktopFileReader::DesktopFileReader(std::istream& is) : DesktopFileReader() {
|
||||
d->parse(is);
|
||||
}
|
||||
|
||||
DesktopFileReader::DesktopFileReader(const DesktopFileReader& other) : DesktopFileReader() {
|
||||
d->copyData(other.d);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user