Changeset bbd746


Ignore:
Timestamp:
Apr 2, 2011, 12:20:50 AM (15 years ago)
Author:
Frederik Heber <heber@…>
Children:
296839
Parents:
8e24ef
git-author:
Frederik Heber <heber@…> (03/31/11 16:09:46)
git-committer:
Frederik Heber <heber@…> (04/02/11 00:20:50)
Message:

FIX: Registry<>::getByName() did not return validly on instance not found.

  • Library version is now 7:1:0, API version is still 1.1.1.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r8e24ef rbbd746  
    33
    44AC_PREREQ([2.65])
    5 AC_INIT([CodePatterns], [1.1.0], [heber@ins.uni-bonn.de], [codepatterns], [http://trac.ins.uni-bonn.de/projects/CodePatterns/])
     5AC_INIT([CodePatterns], [1.1.1], [heber@ins.uni-bonn.de], [codepatterns], [http://trac.ins.uni-bonn.de/projects/CodePatterns/])
    66AC_CONFIG_AUX_DIR(config)
    77AC_CONFIG_SRCDIR([src/Patterns/Singleton_impl.hpp])
     
    2525# refer to the libtool manual, section "Updating library version information":
    2626# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
    27 AC_SUBST([CODEPATTERNS_SO_VERSION], [7:0:0])
    28 AC_SUBST([CODEPATTERNS_API_VERSION], [1.1.0])
     27AC_SUBST([CODEPATTERNS_SO_VERSION], [7:1:0])
     28AC_SUBST([CODEPATTERNS_API_VERSION], [1.1.1])
    2929
    3030# Checks for libraries.
  • src/Patterns/Registry_impl.hpp

    r8e24ef rbbd746  
    4141  iter = InstanceMap.find(name);
    4242  ASSERT(iter!=InstanceMap.end(),"Query for an instance "+name+" not stored in registry");
    43   return iter->second;
     43  return (iter!=InstanceMap.end()) ? iter->second : NULL;
    4444}
    4545
Note: See TracChangeset for help on using the changeset viewer.