Skip to content

Commit

Permalink
Fix build errors for MSVC 14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
toroidal-code committed Apr 26, 2016
1 parent 334db03 commit 27cad81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prettyprint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ namespace pretty_print
template <typename T1, typename T2>
struct print_container_helper<T, TChar, TCharTraits, TDelimiters>::printer<std::pair<T1, T2>>
{
using ostream_type = print_container_helper<T, TChar, TCharTraits, TDelimiters>::ostream_type;
using ostream_type = typename print_container_helper<T, TChar, TCharTraits, TDelimiters>::ostream_type;

static void print_body(const std::pair<T1, T2> & c, ostream_type & stream)
{
Expand All @@ -174,7 +174,7 @@ namespace pretty_print
template <typename ...Args>
struct print_container_helper<T, TChar, TCharTraits, TDelimiters>::printer<std::tuple<Args...>>
{
using ostream_type = print_container_helper<T, TChar, TCharTraits, TDelimiters>::ostream_type;
using ostream_type = typename print_container_helper<T, TChar, TCharTraits, TDelimiters>::ostream_type;
using element_type = std::tuple<Args...>;

template <std::size_t I> struct Int { };
Expand Down

0 comments on commit 27cad81

Please sign in to comment.