Skip to content

Commit

Permalink
[SCons] Add AnyMap.h to precompiled header
Browse files Browse the repository at this point in the history
Speeds up overall compilation time because this header and all the
templated code in AnyMap.inl.h is directly or indirectly included in
many other files.
  • Loading branch information
speth committed Apr 27, 2021
1 parent e0d10a9 commit bc15623
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/base/units.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
// This file is part of Cantera. See License.txt in the top-level directory or
// at https://cantera.org/license.txt for license and copyright information.

#ifndef CT_UNITS_H
#define CT_UNITS_H
#ifndef CT_LEGACY_UNITS_H
#define CT_LEGACY_UNITS_H

#include "cantera/base/ct_defs.h"
#include "cantera/base/ctexceptions.h"
Expand Down
1 change: 1 addition & 0 deletions src/pch/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@

#include <boost/algorithm/string.hpp>
#include "cantera/base/fmt.h"
#include "cantera/base/AnyMap.h"

#endif

0 comments on commit bc15623

Please sign in to comment.