Skip to content

Commit

Permalink
Merge pull request #3303 from akva2/remove_parser_deck_api_warning
Browse files Browse the repository at this point in the history
remove OPM_PARSER_DECK_API_WARNING
  • Loading branch information
bska authored Dec 21, 2022
2 parents ff4fb71 + 112e377 commit db71266
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions opm/input/eclipse/Deck/Deck.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,6 @@
#include <opm/input/eclipse/Deck/DeckKeyword.hpp>
#include <opm/input/eclipse/Units/UnitSystem.hpp>

#ifdef OPM_PARSER_DECK_API_WARNING
#ifndef OPM_PARSER_DECK_API
#pragma message "\n\n" \
" ----------------------------------------------------------------------------------\n" \
" The current compilation unit includes the header Deck.hpp. Outside of opm-parser \n" \
" you are encouraged to use the EclipseState API instead of the low level Deck API. \n" \
" If use of the Deck API is absolutely necessary you can silence this warning with \n" \
" #define OPM_PARSER_DECK_API before including the Deck.hpp header. \n" \
" ----------------------------------------------------------------------------------\n" \
""
#endif
#endif



namespace Opm {

Expand Down

0 comments on commit db71266

Please sign in to comment.