From 7970157ffb85024c03fde027bac2f0ebbe587ad7 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 10 Sep 2010 13:43:32 +0200 Subject: apt-pkg/contrib/cdromutl.cc: style fixes (thanks to David for his code-review) --- apt-pkg/contrib/cdromutl.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apt-pkg/contrib/cdromutl.cc b/apt-pkg/contrib/cdromutl.cc index 129e4a9f6..9c00f94b5 100644 --- a/apt-pkg/contrib/cdromutl.cc +++ b/apt-pkg/contrib/cdromutl.cc @@ -161,10 +161,10 @@ bool IdentCdrom(string CD,string &Res,unsigned int Version) // used like a cdrom don't use "." as it will constantly change, // use .disk instead if (access(CD.c_str(), W_OK) == 0 && DirectoryExists(CD+string("/.disk"))) { - CD = CD+string("/.disk"); + CD = CD.append("/.disk"); if (_config->FindB("Debug::aptcdrom",false) == true) - std::clog << "Found writable cdrom, using alternative path: " - << CD.c_str() << std::endl; + std::clog << "Found writable cdrom, using alternative path: " << CD + << std::endl; } string StartDir = SafeGetCWD(); -- cgit v1.2.3