Skip to content

Commit

Permalink
update remaining <variant.hpp> to <mapbox/variant.hpp>
Browse files Browse the repository at this point in the history
  • Loading branch information
artemp committed May 9, 2016
1 parent 3438316 commit bfe0f19
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 14 deletions.
3 changes: 1 addition & 2 deletions test/compilation_failure/default_constructor.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

// @EXPECTED: First type in variant must be default constructible to allow default construction of variant

#include <variant.hpp>
#include <mapbox/variant.hpp>

// Checks that the first type in a variant must be default constructible to
// make the variant default constructible.
Expand Down
3 changes: 1 addition & 2 deletions test/compilation_failure/empty_typelist.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

// @EXPECTED: Template parameter type list of variant can not be empty

#include <variant.hpp>
#include <mapbox/variant.hpp>

// Empty type list should not work.

Expand Down
3 changes: 1 addition & 2 deletions test/compilation_failure/equality.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

// @EXPECTED:

#include <variant.hpp>
#include <mapbox/variant.hpp>

int main()
{
Expand Down
3 changes: 1 addition & 2 deletions test/compilation_failure/get_type.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

// @EXPECTED: enable_if

#include <variant.hpp>
#include <mapbox/variant.hpp>

int main()
{
Expand Down
3 changes: 1 addition & 2 deletions test/compilation_failure/is_type.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

// @EXPECTED: invalid type in T in `is<T>()` for this variant

#include <variant.hpp>
#include <mapbox/variant.hpp>

int main()
{
Expand Down
3 changes: 1 addition & 2 deletions test/compilation_failure/mutating_visitor_on_const.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

// @EXPECTED: const int

#include <variant.hpp>
#include <mapbox/variant.hpp>

struct mutating_visitor
{
Expand Down
3 changes: 1 addition & 2 deletions test/compilation_failure/no-reference.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

// @EXPECTED: Variant can not hold reference types

#include <variant.hpp>
#include <mapbox/variant.hpp>

int main()
{
Expand Down

0 comments on commit bfe0f19

Please sign in to comment.