Skip to content

Commit

Permalink
Remove unsued files
Browse files Browse the repository at this point in the history
Fix warnings
Remove comments
  • Loading branch information
ben committed Sep 23, 2024
1 parent b50b285 commit d7acdc1
Show file tree
Hide file tree
Showing 15 changed files with 13 additions and 401 deletions.
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

14 changes: 0 additions & 14 deletions .github/ISSUE_TEMPLATE/optimization-issue-template.md

This file was deleted.

52 changes: 0 additions & 52 deletions .github/workflows/build_linux.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/build_mac.yml

This file was deleted.

92 changes: 0 additions & 92 deletions .github/workflows/build_master_branch.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/build_windows.yml

This file was deleted.

6 changes: 3 additions & 3 deletions AmApi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "analyze/algorithm/ImagePair.h"
#include <sstream>

#if defined __unix__ || defined __APPLE__
#ifndef WIN32
#include <jpeglib.h>
#endif
namespace am
Expand Down Expand Up @@ -37,7 +37,7 @@ namespace am
obj.getMaxHeight());
}

#if defined __unix__ || defined __APPLE__
#ifndef WIN32
if (dbcPtr)
{
std::stringstream ss;
Expand All @@ -51,7 +51,7 @@ namespace am

void AmApi::enable_database_reports(const char *db_name)
{
#if defined __unix__ || defined __APPLE__
#ifndef WIN32
dbcPtr.reset(new database::DataBaseCommunicator(db_name));
#endif
}
Expand Down
4 changes: 2 additions & 2 deletions AmApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "configuration/ConfigurationReader.hpp"
#include "common/Logger.hpp"
#include "extraction/MultipleExtractor.h"
#if defined __unix__ || defined __APPLE__
#ifndef WIN32
#include "database/DataBaseCommunicator.h"
#endif

Expand All @@ -29,7 +29,7 @@ namespace am

std::string base_img_path;
std::string cmp_img_path;
#if defined __unix__ || defined __APPLE__
#ifndef WIN32
std::unique_ptr<database::DataBaseCommunicator> dbcPtr;
#endif
Configuration configuration;
Expand Down
Loading

0 comments on commit d7acdc1

Please sign in to comment.