diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2014-02-15 23:30:14 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2014-02-15 23:30:14 +0000 |
commit | bd5c340062b2785cd25fc24214d6cb13af2a4310 (patch) | |
tree | 785ac0910fd69ae86a64793f4447960f5a1a0488 /Lib/tcl | |
parent | 078dbf8d22fc2f4d1f2ce2f739096f58f458af64 (diff) | |
download | swig-bd5c340062b2785cd25fc24214d6cb13af2a4310.tar.gz |
Add <string> fragment
Removes <string> include specifically for clang
Cuts down on duplicate #include <string> in general
Diffstat (limited to 'Lib/tcl')
-rw-r--r-- | Lib/tcl/std_vector.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tcl/std_vector.i b/Lib/tcl/std_vector.i index de99a36d0..37e23ba71 100644 --- a/Lib/tcl/std_vector.i +++ b/Lib/tcl/std_vector.i @@ -28,11 +28,11 @@ // is returned // ------------------------------------------------------------------------ +%fragment("<string>"); %{ #include <vector> #include <algorithm> #include <stdexcept> -#include <string> Tcl_Obj* SwigString_FromString(const std::string &s) { return Tcl_NewStringObj(s.data(), (int)s.length()); |