~ubuntu-branches/ubuntu/trusty/plee-the-bear/trusty-proposed

« back to all changes in this revision

Viewing changes to bear-engine/core/src/engine/variable/code/var_map.cpp

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng, Evgeni Golov, Gonéri Le Bouder, Julien Jorge, Vincent Cheng
  • Date: 2014-01-23 13:20:52 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140123132052-r0kg74mh6egto11t
Tags: 0.6.0-2
* Team upload.

[ Evgeni Golov ]
* Correct Vcs-* URLs to point to anonscm.debian.org

[ Gonéri Le Bouder ]
* import patches by Julien Jorge to fix a FTBFS  with the current
  Boost.FileSystem (closes: #720819)
* Add myself in Uploaders
* Indent the B-D

[ Julien Jorge ]
* Add mipsn32el mips64 mips64el in the architecures (closes: #726176)
* Add a patch to use the full path to the icon in the menu files
  (closes: #726853)

[ Vincent Cheng ]
* Refresh patches.
* Update to Standards version 3.9.5.
* Update to source format "3.0 (quilt)".

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 */
37
37
template<typename T>
38
38
void bear::engine::var_map::delete_signal::operator()
39
 
  ( const std::string& name, boost::signal<void (T)>* value ) const
 
39
  ( const std::string& name, boost::signals2::signal<void (T)>* value ) const
40
40
{
41
41
  delete value;
42
42
} // var_map::delete_signal::operator()()
65
65
void bear::engine::var_map::trigger_signal::operator()
66
66
  ( const std::string& name, const T& value ) const
67
67
{
68
 
  typedef boost::signal<void (T)>* signal_type;
 
68
  typedef boost::signals2::signal<void (T)>* signal_type;
69
69
 
70
70
  if ( m_signals.exists<signal_type>(name) )
71
71
    (*m_signals.get<signal_type>(name))(value);
102
102
{
103
103
  if ( !m_map.exists<T>(name) )
104
104
    {
105
 
      typedef boost::signal<void (T)>* signal_type;
 
105
      typedef boost::signals2::signal<void (T)>* signal_type;
106
106
 
107
107
      if ( m_signals.exists<signal_type>(name) )
108
108
        {