Commit dfeb4825 authored by Christof Metzger-Kraus's avatar Christof Metzger-Kraus
Browse files

only add header file when compiling unit tests

parent bc7f68f0
......@@ -28,7 +28,9 @@
#include "gsl/gsl_spline.h"
#include "gsl/gsl_interp.h"
#ifdef WITH_UNIT_TESTS
#include <gtest/gtest_prod.h>
#endif
#include <vector>
......@@ -137,8 +139,9 @@ protected:
private:
#ifdef WITH_UNIT_TESTS
FRIEND_TEST(Maxwell, Zeros);
#endif
// Not implemented.
void operator=(const Bend &);
......@@ -383,4 +386,4 @@ CoordinateSystemTrafo Bend::getBeginToEnd_local() const
return beginToEnd_lcs_m;
}
#endif // CLASSIC_BEND_H
#endif // CLASSIC_BEND_H
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment