Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=45edea3aedea618a5abda66a12eb1fedf943c019

commit 45edea3aedea618a5abda66a12eb1fedf943c019
Author: James Buren <r...@frugalware.org>
Date:   Thu Jun 4 17:40:52 2009 -0500

pm.cc
* update

diff --git a/pm.cc b/pm.cc
index fe807a5..7953919 100644
--- a/pm.cc
+++ b/pm.cc
@@ -3,17 +3,15 @@

using std::cout;
using std::endl;
-using namespace PM;
+using std::string;
+using PM::Shared;

-bool initialize(const std::string &root)
+bool PM::initialize(const string &root)
{
-       return (!pacman_initialize(root.c_str())) ? true : false;
+       return ( !pacman_initialize( root.c_str() ) );
}

-bool release()
-{
-       return (!pacman_release()) ? true : false;
-}
+bool PM::release() { return ( !pacman_release() ); }

// Initialize the defaults
Shared::Shared()
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to