Skip to content

d04 make getters const const #2

@nikander100

Description

@nikander100

in animal.hpp
// Getters
std::string getType() const;
should be like: in brain.hpp
// Getters
const std::string& getIdea() const;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions