8000 export operator<< in DLLs · Dadie/docopt.cpp@db82934 · GitHub
[go: up one dir, main page]

Skip to content

Commit db82934

Browse files
theodelrieujaredgrubb
authored andcommitted
export operator<< in DLLs
1 parent 6f5de76 commit db82934

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docopt.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@
99
#ifndef docopt__docopt_h_
1010
#define docopt__docopt_h_
1111

12-
#include "docopt_value.h"
13-
14-
#include <map>
15-
#include <vector>
16-
#include <string>
17-
#include <stdexcept>
18-
1912
#ifdef DOCOPT_HEADER_ONLY
2013
#define DOCOPT_INLINE inline
2114
#define DOCOPT_API
@@ -41,6 +34,13 @@
4134
#endif
4235
#endif
4336

37+
#include "docopt_value.h"
38+
39+
#include <map>
40+
#include <vector>
41+
#include <string>
42+
#include <stdexcept>
43+
4444
namespace docopt {
4545

4646
// Usage string could not be parsed (ie, the developer did something wrong)

docopt_value.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ namespace docopt {
105105
};
106106

107107
/// Write out the contents to the ostream
108-
std::ostream& operator<<(std::ostream&, value const&);
108+
DOCOPT_API std::ostream& operator<<(std::ostream&, value const&);
109109
}
110110

111111
namespace std {

0 commit comments

Comments
 (0)
0