Skip to content

Commit

Permalink
Removed propagate_const from pimpl implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim-Salzmann committed Feb 22, 2024
1 parent 89d7aef commit 48fe098
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libl4casadi/include/l4casadi.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <iostream>
#include <memory>
#include <experimental/propagate_const>

#ifndef l4casadi_hpp
#define l4casadi_hpp
Expand All @@ -18,7 +17,7 @@ class L4CasADi

// PImpl Idiom
class L4CasADiImpl;
std::experimental::propagate_const<std::unique_ptr<L4CasADiImpl> > pImpl;
std::unique_ptr<L4CasADiImpl> pImpl;

};

Expand Down

0 comments on commit 48fe098

Please sign in to comment.