From f1593e31882800fcfc3dad7d3ec42e709754128d Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 26 Oct 2011 12:21:29 +0200 Subject: [PATCH] Remove two unused Package methods --- include/metaproxy/package.hpp | 6 ------ src/package.cpp | 11 ----------- 2 files changed, 17 deletions(-) diff --git a/include/metaproxy/package.hpp b/include/metaproxy/package.hpp index eaa9fd8..d256bc7 100644 --- a/include/metaproxy/package.hpp +++ b/include/metaproxy/package.hpp @@ -64,12 +64,6 @@ namespace metaproxy_1 { /// get function - right val in assignment Origin origin() const; - /// set function - left val in assignment - Origin & origin(); - - /// set function - can be chained - Package & origin(const Origin & origin); - /// set function - can be chained Package & router(const Router &router); diff --git a/src/package.cpp b/src/package.cpp index ac8e911..f5fa411 100644 --- a/src/package.cpp +++ b/src/package.cpp @@ -82,17 +82,6 @@ mp::Origin mp::Package::origin() const return m_origin; } -mp::Origin & mp::Package::origin() -{ - return m_origin; -} - -mp::Package & mp::Package::origin(const Origin & origin) -{ - m_origin = origin; - return *this; -} - mp::Package & mp::Package::router(const mp::Router &router) { m_route_pos = router.createpos(); -- 1.7.10.4