From: Adam Dickmeiss Date: Wed, 26 Oct 2011 10:21:29 +0000 (+0200) Subject: Remove two unused Package methods X-Git-Tag: v1.3.12~2 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=f1593e31882800fcfc3dad7d3ec42e709754128d;p=metaproxy-moved-to-github.git Remove two unused Package methods --- 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();