Skip to content

Commit

Permalink
Add missing DNN_READ_ONNX guard
Browse files Browse the repository at this point in the history
  • Loading branch information
daquexian committed May 24, 2019
1 parent 1014a45 commit 52da80a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions binaries/dnn_retrieve_result.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ using Clock = std::chrono::high_resolution_clock;
using dnn::DaqReader;
using dnn::Model;
using dnn::ModelBuilder;
#ifdef DNN_READ_ONNX
using dnn::OnnxReader;
#endif

bool hasEnding(std::string const &fullString, std::string const &ending) {
if (fullString.length() >= ending.length()) {
Expand Down

0 comments on commit 52da80a

Please sign in to comment.