clang tidy

This commit is contained in:
Erik Frojdh
2019-04-09 10:59:09 +02:00
parent 39221f1230
commit 70b2a41d5e
12 changed files with 116 additions and 66 deletions

View File

@ -16,6 +16,8 @@ if(SLS_USE_TESTS)
target_link_libraries(detector_test
slsDetectorShared
slsProjectOptions
slsProjectWarnings
slsSupportLib
pthread
rt
@ -23,9 +25,11 @@ if(SLS_USE_TESTS)
set_target_properties(detector_test PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
)
add_executable(a src/a.cpp)
add_executable(a src/a.cpp)
target_link_libraries(a
slsProjectOptions
slsProjectWarnings
slsDetectorShared
slsSupportLib
pthread

View File

@ -35,6 +35,10 @@ std::ostream &operator<<(std::ostream &out, const ROI &r) {
}
int main() {
int ret[3]{};
for (auto i: ret)
std::cout << i << "\n";
// uint32_t imageSize = 101;
// uint32_t packetSize = 100;
// std::cout << "a: " << std::ceil((double)imageSize / (double)packetSize) <<'\n';