summaryrefslogtreecommitdiff
path: root/src/utils/revstr.cpp
blob: 87fd8017f21d0e8f8e892614ea9d702d965af7e2 (plain)
1
2
3
4
5
6
7
8
9
#include <utils/revstr.hpp>

namespace utils
{
  std::string revstr(const std::string& original)
  {
    return {original.rbegin(), original.rend()};
  }
}