updated style

This commit is contained in:
Phuntsok Drak-pa 2019-03-28 12:39:33 +01:00
parent 912eafb9dd
commit 7fa70b35e4
6 changed files with 17 additions and 8 deletions

View File

@ -28,5 +28,14 @@ SpacesInParentheses: 'false'
Standard: Cpp11
TabWidth: '2'
UseTab: ForIndentation
IncludeCategories:
- Regex: '^"(llvm-c|clang-c)/'
Priority: 2
- Regex: '^"(llvm|clang)/'
Priority: 3
- Regex: '^(<|"(gtest|isl|json)/)'
Priority: 4
- Regex: '.*'
Priority: 1
...

View File

@ -1,9 +1,9 @@
#ifndef GENETIC_IMAGE_INCLUDE_GENIMG_COMMON_HH_
#define GENETIC_IMAGE_INCLUDE_GENIMG_COMMON_HH_
#include <spdlog/spdlog.h>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <spdlog/spdlog.h>
#include <string>
#include <utility>

View File

@ -1,9 +1,9 @@
#ifndef GENETIC_IMAGE_INCLUDE_GENIMG_METHODS_HH_
#define GENETIC_IMAGE_INCLUDE_GENIMG_METHODS_HH_
#include <spdlog/spdlog.h>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <spdlog/spdlog.h>
void method1(cv::Mat const&, cv::Mat&, int);

View File

@ -1,8 +1,8 @@
#include "drawing.hh"
#include <spdlog/spdlog.h>
#include <cstdlib>
#include <memory>
#include <opencv2/imgproc.hpp>
#include <spdlog/spdlog.h>
void drawSquare(cv::Mat& t_img,
cv::Point const& t_top_left,

View File

@ -1,9 +1,9 @@
#include <cstdlib>
#include <ctime>
#include <iostream>
#include "common.hh"
#include "methods.hh"
#include "parseargs.hh"
#include <cstdlib>
#include <ctime>
#include <iostream>
int main(int ac, char** av)
{

View File

@ -1,11 +1,11 @@
#include "methods.hh"
#include "common.hh"
#include "drawing.hh"
#include <algorithm>
#include <array>
#include <cstdlib>
#include <thread>
#include <vector>
#include "common.hh"
#include "drawing.hh"
auto const thread_nbr = std::thread::hardware_concurrency();
std::mutex numbers_mutex;