summaryrefslogtreecommitdiff
path: root/src/strings/tstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings/tstring.cpp')
-rw-r--r--src/strings/tstring.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/strings/tstring.cpp b/src/strings/tstring.cpp
index 5f463ca..b0bd74a 100644
--- a/src/strings/tstring.cpp
+++ b/src/strings/tstring.cpp
@@ -18,12 +18,18 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
+#include "rstring.hpp"
+#include "astring.hpp"
#include "sstring.hpp"
#include "zstring.hpp"
#include "xstring.hpp"
+#include "literal.hpp"
#include "../poison.hpp"
+
+namespace tmwa
+{
namespace strings
{
TString::TString()
@@ -67,6 +73,10 @@ namespace strings
else
*this = RString(x);
}
+ TString::TString(const LString& l)
+ {
+ *this = XString(l);
+ }
TString::TString(XPair p)
: _s(p), _o(0)
@@ -94,3 +104,4 @@ namespace strings
return ts.c_str();
}
} // namespace strings
+} // namespace tmwa