Fix Key::WriteToFile method being not const qualified

This commit is contained in:
Leonetienne
2022-05-27 17:04:05 +02:00
parent 5365233b43
commit 191b17c631
3 changed files with 3 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ namespace Leonetienne::GCrypt {
return key;
}
void Key::WriteToFile(const std::string& path) {
void Key::WriteToFile(const std::string& path) const {
// Create an ofilestream
std::ofstream ofs(path, std::ios::out | std::ios::binary);