[POLICYREP] [patch 3/7] remove duplicated optional.hpp data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Somehow optional.hpp ended up duplicated twice, remove the extra junk

---
 libpolicyrep/include/policyrep/optional.hpp |   46 ----------------------------
 1 file changed, 46 deletions(-)

--- policyrep.new.orig/libpolicyrep/include/policyrep/optional.hpp
+++ policyrep.new/libpolicyrep/include/policyrep/optional.hpp
@@ -44,49 +44,3 @@ namespace policyrep
 } // namespace policyrep
 
 #endif
-/* Author: Karl MacMillan <kmacmillan@xxxxxxxxxxxxxxxxx> */
-
-#ifndef __optional_hpp__
-#define __optional_hpp__
-
-#include <policyrep/policy_base.hpp>
-
-namespace policyrep
-{
-	class OptionalBranch;
-	typedef boost::shared_ptr<OptionalBranch> OptionalBranchPtr;
-
-	struct OptionalBlockImpl;
-	class OptionalBlock : public PolicyBlock
-	{
-	public:
-		OptionalBlock();
-		OptionalBlock(const OptionalBlock& other);
-		OptionalBlock(OptionalBranchPtr true_);
-		OptionalBlock(OptionalBranchPtr true_, OptionalBranchPtr false_);
-		virtual ~OptionalBlock();
-		virtual void operator=(const OptionalBlock& other);
-	protected:
-		void copy(const OptionalBlock& other);
-		OptionalBlockImpl* impl;
-	};
-	typedef boost::shared_ptr<OptionalBlock> OptionalBlockPtr;
-
-	struct OptionalBranchImpl;
-	class OptionalBranch : public PolicyBranch
-	{
-	public:
-		OptionalBranch();
-		OptionalBranch(const OptionalBranch& other);
-		virtual ~OptionalBranch();
-		virtual void operator=(const OptionalBranch& other);
-		
-	protected:
-		virtual void do_output(std::ostream& o, const OutputFormatter& op) const;
-		void copy(const OptionalBranch& other);
-		OptionalBranchImpl* impl;
-	};
-
-} // namespace policyrep
-
-#endif

-- 

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux