Skip to content

Commit

Permalink
a little comment on getoptions.h
Browse files Browse the repository at this point in the history
  • Loading branch information
eightnoteight committed Jul 19, 2014
1 parent 3019e79 commit bd0cde0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/getoptions.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Geopt is nice for purposes like this where the
// args are just the repitions of the program
class Geopt
{
private:
Expand All @@ -6,6 +8,7 @@ class Geopt
public:
Geopt(int argc, char const *argv[]);
std::string get_next();
//destructer not needed
};
Geopt::Geopt(int argc, char const *argv[])
{
Expand All @@ -21,4 +24,4 @@ std::string Geopt::get_next()
std::string tmp = options.front();
options.pop();
return tmp;
}
}

0 comments on commit bd0cde0

Please sign in to comment.