From 6659ba27b8ed73ca34a268293aec8176caa7c65b Mon Sep 17 00:00:00 2001 From: Duncan Mac-Vicar P Date: Fri, 1 Feb 2008 23:20:01 +0000 Subject: [PATCH] save cookie file too --- zypp/RepoStatus.cc | 2 +- zypp/RepoStatus.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zypp/RepoStatus.cc b/zypp/RepoStatus.cc index fdea7a5..65a3be5 100644 --- a/zypp/RepoStatus.cc +++ b/zypp/RepoStatus.cc @@ -105,7 +105,7 @@ namespace zypp return status; } - void RepoStatus::saveToCookieFile( const Pathname &cookiefile ) + void RepoStatus::saveToCookieFile( const Pathname &cookiefile ) const { std::ofstream file(cookiefile.c_str()); if (!file) { diff --git a/zypp/RepoStatus.h b/zypp/RepoStatus.h index 5bdf1ca..71f57cb 100644 --- a/zypp/RepoStatus.h +++ b/zypp/RepoStatus.h @@ -52,7 +52,7 @@ namespace zypp * save the status information to a cookie file * \throws Exception if the file can't be saved */ - void saveToCookieFile( const Pathname &path ); + void saveToCookieFile( const Pathname &path ) const; /** * Checksum of the repository. -- 2.7.4