Skip to content

Commit 303cbb9

Browse files
author
Клюшниченко Александр Владимирович
committed
cleanup
1 parent 09c3e73 commit 303cbb9

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

include/Args/Utils.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ namespace args
1212
{
1313
namespace utils
1414
{
15-
std::string TypeToStr(ArgType type);
1615
bool Stob(const std::string &str);
1716
int Stoi(const std::string &str);
1817
long Stol(const std::string &str);

src/Utils.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,6 @@
22

33
#include "Args/Assert.hpp"
44

5-
std::string args::utils::TypeToStr(ArgType type)
6-
{
7-
switch (type)
8-
{
9-
case ArgType::ARGS_REQUIRED:
10-
return "REQUIRED ARGUMENT";
11-
case ArgType::ARGS_OPTIONAL:
12-
return "OPTIONAL ARGUMENT";
13-
default:
14-
return "UNKNOWN";
15-
}
16-
}
17-
185
bool args::utils::Stob(const std::string &value)
196
{
207
if (value == "on")

0 commit comments

Comments
 (0)