Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 2317ec6

Browse files
author
litek
committed
tr1 is in std namespace in VS >= 2010
1 parent b03de97 commit 2317ec6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test_node_factory.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
#if _MSC_VER >= 1600
2+
#include <unordered_map>
3+
#else
4+
#include <tr1/unordered_map>
5+
#endif
16
#include <iostream>
27
#include <string>
3-
#include <tr1/unordered_map>
48
#include <map>
59
#include <algorithm>
610

0 commit comments

Comments
 (0)