The unified diff between revisions [9b06d7a6..] and [b43e6a50..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'tokens_test.cc'
#
#
# patch "tokens_test.cc"
# from [7a4d4f8cc9898703a87e8445b797e65f46e1ea74]
# to [9c0ec9ccebc6a0e1d4097cd7fc0d50352f941f71]
#
============================================================
--- tokens_test.cc 7a4d4f8cc9898703a87e8445b797e65f46e1ea74
+++ tokens_test.cc 9c0ec9ccebc6a0e1d4097cd7fc0d50352f941f71
@@ -2,8 +2,10 @@
#include <iostream>
#include "tokens.hh"
+typedef Tokens<std::string> s_tok;
+
void
-string_test (Tokens<std::string, string_hash<std::string> > &t)
+string_test (s_tok &t)
{
std::string s;
@@ -13,7 +15,7 @@ void
}
void
-input_test (Tokens<std::string, string_hash<std::string> > &t)
+input_test (s_tok &t)
{
std::string i;
@@ -26,7 +28,7 @@ test (void)
void
test (void)
{
- Tokens<std::string, string_hash<std::string> > t;
+ s_tok t;
string_test (t);
input_test (t);