Skip to content

Commit 1640dd3

Browse files
committed
Added missing analysis method.
1 parent 719bf64 commit 1640dd3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Src/Analysis/AnalysisManager.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
#include "AnalysisManager.h"
3939
#include "Analysis/IntervalAnalysis/TransformAnalysis/IntervalPositionAdjustmentAnalysisRequest.h"
4040

41+
void AnalysisManager::add_interval_analysis_request(std::shared_ptr<IntervalAnalysisRequest> request) {
42+
interval_analysis_queries.push_back(request);
43+
}
44+
4145
void AnalysisManager::add_interval_analysis_request(int analysis_id, std::shared_ptr<IntervalAnalysisRequest> request, int logical_operation) {
4246
if(interval_analysis_queries.size() > analysis_id){
4347
if(interval_analysis_queries[analysis_id].get() == nullptr){

Src/Analysis/AnalysisManager.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ class AnalysisManager {
7777

7878
void add_interval_analysis_request(int analysis_id, std::shared_ptr<IntervalAnalysisRequest> request, int logical_operation);
7979

80+
void add_interval_analysis_request(std::shared_ptr<IntervalAnalysisRequest> request);
81+
8082
int process_interval_analysis_request(std::shared_ptr<IntervalAnalysisRequest> analysis_request, float* intervals, std::string const& file, std::vector<TimeInterval> const& intervals_to_investigate) const;
8183

8284
int process_interval_analysis_requests_for_all_files();

0 commit comments

Comments
 (0)