summaryrefslogtreecommitdiff
path: root/louloulibs/utils/string.cpp
blob: 3977feb58470f9e43386e31307ba1c9301ddfb31 (plain)
1
2
3
4
5
6
#include <utils/string.hpp>

bool to_bool(const std::string& val)
{
  return (val == "1" || val == "true");
}