File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -61,19 +61,6 @@ namespace Sass {
61
61
}
62
62
// EO unvendor
63
63
64
- std::string rtrim (const std::string& str) {
65
-
66
- std::string trimmed = str;
67
- size_t pos_ws = trimmed.find_last_not_of (" \t\n\v\f\r " );
68
- if (pos_ws != std::string::npos) {
69
- trimmed.erase (pos_ws + 1 );
70
- }
71
- else {
72
- trimmed.clear ();
73
- }
74
- return trimmed;
75
- }
76
-
77
64
std::string normalize_newlines (const std::string& str) {
78
65
std::string result;
79
66
result.reserve (str.size ());
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ namespace Sass {
22
22
// ###########################################################################
23
23
std::string unvendor (const std::string& name);
24
24
25
- std::string rtrim (const std::string& str);
25
+ std::string rtrim (std::string str);
26
26
std::string normalize_newlines (const std::string& str);
27
27
std::string normalize_underscores (const std::string& str);
28
28
std::string normalize_decimals (const std::string& str);
You can’t perform that action at this time.
0 commit comments