Changeset 4051


Ignore:
Timestamp:
Mar 4, 2021, 7:57:05 AM (7 months ago)
Author:
Peter
Message:

make Target::classifier() const; closes #972

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEWS

    r4032 r4051  
    44
    55version 0.19 (released NOT YET)
     6  - classifier::Target::labels(void) is now const (issue #972)
    67
    78  A complete list of closed tickets can be found here [[br]]
  • trunk/yat/classifier/Target.cc

    r4050 r4051  
    55  Copyright (C) 2006 Jari Häkkinen, Peter Johansson, Markus Ringnér
    66  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    7   Copyright (C) 2012, 2017, 2019 Peter Johansson
     7  Copyright (C) 2012, 2017, 2019, 2021 Peter Johansson
    88
    99  This file is part of the yat library, http://dev.thep.lu.se/yat
     
    161161  }
    162162
    163   const std::vector<std::string>& Target::labels(void)
     163  const std::vector<std::string>& Target::labels(void) const
    164164  {
    165165    return labels_;
  • trunk/yat/classifier/Target.h

    r4050 r4051  
    88  Copyright (C) 2006 Jari Häkkinen, Peter Johansson, Markus Ringnér
    99  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    10   Copyright (C) 2009, 2019 Peter Johansson
     10  Copyright (C) 2009, 2019, 2021 Peter Johansson
    1111
    1212  This file is part of the yat library, http://dev.thep.lu.se/yat
     
    117117    /// @return vector of labels for classes
    118118    ///
    119     const std::vector<std::string>& labels(void);
     119    const std::vector<std::string>& labels(void) const;
    120120
    121121    ///
Note: See TracChangeset for help on using the changeset viewer.