// Copyright (c) 2008-2009 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include #include "saga-advert.hpp" /////////////////////////////////////////////////////////////////////////////// void advert_remove_attribute (std::string advertURL, std::string key) { using namespace saga; SAGA_GUARDED_EXEC ( // instantiate advert entry saga::url ad(advertURL); advert::entry e(ad); // remove attributes e.remove_attribute(key); ) }