Commit 52ba4ad24813ca870806e5abc28cf81d80fd7944

Authored by Jürgen Knödlseder
1 parent 8b221ddd

Add hash() method to test instrument direction

test/testinst/GTestInstDir.hpp
1 1 /***************************************************************************
2 2 * GTestInstDir.hpp - Test instrument direction class *
3 3 * ----------------------------------------------------------------------- *
4   - * copyright (C) 2012-2014 by Jean-Baptiste Cayrou *
  4 + * copyright (C) 2012-2020 by Jean-Baptiste Cayrou *
5 5 * ----------------------------------------------------------------------- *
6 6 * *
7 7 * This program is free software: you can redistribute it and/or modify *
... ... @@ -86,7 +86,8 @@ public:
86 86  
87 87 GTestInstDir* clone(void) const{ return new GTestInstDir(*this); }
88 88 std::string classname(void) const { return "GTestInstDir"; }
89   -
  89 + double hash(void) const { return 41.0; };
  90 +
90 91 std::string print(const GChatter& chatter = NORMAL) const{
91 92 std::string result = "=== GTestInstDir ===";
92 93 return result;
... ...