Fix C++ code used for doxygen test

pull/3214/head
Alex Hirsch 7 years ago committed by Jussi Pakkanen
parent 31df4ae164
commit f6fd03485e
  1. 2
      test cases/frameworks/14 doxygen/include/comedian.h
  2. 7
      test cases/frameworks/14 doxygen/include/spede.h
  3. 6
      test cases/frameworks/14 doxygen/meson.build
  4. 2
      test cases/frameworks/14 doxygen/src/spede.cpp

@ -11,7 +11,7 @@ namespace Comedy {
* Do the thing people want to happen.
*/
virtual void tell_joke() = 0;
virtual ~Comedian();
virtual ~Comedian(){};
};
}

@ -29,10 +29,7 @@ namespace Comedy {
throw std::runtime_error("Not implemented");
}
private:
int num_movies; ///< How many movies has he done.
};
private:
int num_movies; ///< How many movies has he done.
}

@ -1,5 +1,11 @@
project('doxygen test', 'cpp', version : '0.1.0')
spede_inc = include_directories('include')
spede_src = [ 'src/spede.cpp' ]
spede_lib = library('spede', spede_src, include_directories: spede_inc)
doxygen = find_program('doxygen', required : false)
if not doxygen.found()
error('MESON_SKIP_TEST doxygen not found.')

@ -42,7 +42,7 @@ int gesticulate(int force) {
Spede::Spede() : num_movies(100) {
}
Spede::slap_forehead() {
void Spede::slap_forehead() {
gesticulate(42);
}

Loading…
Cancel
Save