Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Commit

Permalink
Remove redundant and faulty helper functions
Browse files Browse the repository at this point in the history
  • Loading branch information
JensGM committed Jan 4, 2018
1 parent 3155e98 commit bab7356
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/src/include/nex/private/util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@ namespace is {
std::copy(x.begin(), x.end(), value.begin());
std::replace(value.begin(), value.end(), '\0', ' ');
}
classname( const char (&x)[9] ) {
std::copy(std::begin(x), std::end(x), value.begin());
std::replace(value.begin(), value.end(), '\0', ' ');
}
bool operator()( const NexusData& nd ) const {
return this->value == nd.classname;
}
Expand All @@ -108,10 +104,6 @@ namespace is {
std::copy(x.begin(), x.end(), value.begin());
std::replace(value.begin(), value.end(), '\0', ' ');
}
instancename( const char (&x)[9] ) {
std::copy(std::begin(x), std::begin(x) + 8, value.begin());
std::replace(value.begin(), value.end(), '\0', ' ');
}
bool operator()( const NexusData& nd ) const {
return this->value == nd.instancename;
}
Expand All @@ -125,10 +117,6 @@ namespace is {
std::copy(x.begin(), x.end(), value.begin());
std::replace(value.begin(), value.end(), '\0', ' ');
}
varname( const char (&x)[9] ) {
std::copy(std::begin(x), std::end(x), value.begin());
std::replace(value.begin(), value.end(), '\0', ' ');
}
bool operator()( const NexusData& nd ) const {
return this->value == nd.varname;
}
Expand Down

0 comments on commit bab7356

Please sign in to comment.