From 8e761289a2446367267c6c0d9a26e734f0f78306 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 16 Dec 2020 20:29:05 +0300 Subject: Get rid of legacy build systems and rename cutl/ to libcutl/ --- cutl/xml/value-traits.cxx | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 cutl/xml/value-traits.cxx (limited to 'cutl/xml/value-traits.cxx') diff --git a/cutl/xml/value-traits.cxx b/cutl/xml/value-traits.cxx deleted file mode 100644 index fe7f23f..0000000 --- a/cutl/xml/value-traits.cxx +++ /dev/null @@ -1,24 +0,0 @@ -// file : cutl/xml/value-traits.cxx -// license : MIT; see accompanying LICENSE file - -#include -#include - -using namespace std; - -namespace cutl -{ - namespace xml - { - bool default_value_traits:: - parse (string s, const parser& p) - { - if (s == "true" || s == "1" || s == "True" || s == "TRUE") - return true; - else if (s == "false" || s == "0" || s == "False" || s == "FALSE") - return false; - else - throw parsing (p, "invalid bool value '" + s + "'"); - } - } -} -- cgit v1.1