Rename mwmatching.h to mwmatching.hpp
This commit is contained in:
parent
0f18b7b05a
commit
f652a08d43
|
@ -8,17 +8,17 @@ LIB_BOOST_TEST = -l:libboost_unit_test_framework.a
|
|||
.PHONY: all
|
||||
all: run_matching run_matching_dbg test_mwmatching test_concatenable_queue test_priority_queue
|
||||
|
||||
run_matching: run_matching.cpp mwmatching.h concatenable_queue.hpp priority_queue.hpp
|
||||
run_matching: run_matching.cpp mwmatching.hpp concatenable_queue.hpp priority_queue.hpp
|
||||
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $<
|
||||
|
||||
run_matching_dbg: OPTFLAGS = -Og
|
||||
run_matching_dbg: DBGFLAGS = -g -fsanitize=address -fsanitize=undefined
|
||||
run_matching_dbg: run_matching.cpp mwmatching.h concatenable_queue.hpp priority_queue.hpp
|
||||
run_matching_dbg: run_matching.cpp mwmatching.hpp concatenable_queue.hpp priority_queue.hpp
|
||||
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $<
|
||||
|
||||
test_mwmatching: OPTFLAGS = -O1
|
||||
test_mwmatching: DBGFLAGS = -fsanitize=address -fsanitize=undefined
|
||||
test_mwmatching: test_mwmatching.cpp mwmatching.h concatenable_queue.hpp priority_queue.hpp
|
||||
test_mwmatching: test_mwmatching.cpp mwmatching.hpp concatenable_queue.hpp priority_queue.hpp
|
||||
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $< $(LIB_BOOST_TEST)
|
||||
|
||||
test_concatenable_queue: OPTFLAGS = -O1
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "mwmatching.h"
|
||||
#include "mwmatching.hpp"
|
||||
|
||||
|
||||
namespace { // anonymous namespace
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#define BOOST_TEST_MODULE mwmatching
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
#include "mwmatching.h"
|
||||
#include "mwmatching.hpp"
|
||||
|
||||
|
||||
using EdgeVectorLong = std::vector<mwmatching::Edge<long>>;
|
||||
|
|
Loading…
Reference in New Issue