Skip to content

Commit

Permalink
fix: correct usage of boost::filesystem::path::extension (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
caic99 authored Jan 25, 2025
1 parent caf3161 commit 9dc7435
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions unidock/src/main/simulation_container.h
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,7 @@ struct simulation_container {
complex_property& cp
= m_ptr_complex_property_holder->m_properties[m_successful_property_count];

if (boost::filesystem::extension(m_ligand_config_paths[id].path().string())
== ".json") {
if (m_ligand_config_paths[id].path().extension().string() == ".json") {
try {
success_filled = fill_config_from_json(
cp, m_ligand_config_paths[id].path().string(),
Expand Down

0 comments on commit 9dc7435

Please sign in to comment.