Skip to content

Commit

Permalink
Merge pull request #1224 from peterhuene/fix-api
Browse files Browse the repository at this point in the history
(maint) Fix Facter API to export scalar_value<T>.
  • Loading branch information
Kylo Ginsberg committed Nov 20, 2015
2 parents 34977ae + 1487142 commit f600c06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/inc/facter/facts/scalar_value.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ namespace facter { namespace facts {
* @tparam T The underlying scalar type.
*/
template <typename T>
#if __clang__ || (__GNUC__ >= 5) // Currently limited to Clang and GCC 5 builds until we can minimally target GCC 5
struct LIBFACTER_EXPORT scalar_value : value
#else
struct scalar_value : value
#endif
{
/**
* Constructs a scalar_value.
Expand Down

0 comments on commit f600c06

Please sign in to comment.