Skip to content

Commit

Permalink
Enable v2 format
Browse files Browse the repository at this point in the history
  • Loading branch information
dvsku committed Aug 21, 2024
1 parent 246b79a commit 8324f15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/libevp/evp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,8 @@ evp_result determine_format(fstream_read& stream, std::shared_ptr<libevp::format
result.status = evp_result::status::failure;

std::shared_ptr<libevp::format::format> supported_formats[] = {
static_pointer_cast<libevp::format::format>(std::make_shared<libevp::format::v1::format>())
static_pointer_cast<libevp::format::format>(std::make_shared<libevp::format::v1::format>()),
static_pointer_cast<libevp::format::format>(std::make_shared<libevp::format::v2::format>()),
};

for (std::shared_ptr<libevp::format::format> supported_format : supported_formats) {
Expand Down
1 change: 1 addition & 0 deletions source/libevp/format/supported_formats.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once

#include "libevp/format/format_v1.hpp"
#include "libevp/format/format_v2.hpp"

0 comments on commit 8324f15

Please sign in to comment.