aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoripkn <ipknhama@gmail.com>2015-01-06 22:07:44 +0900
committeripkn <ipknhama@gmail.com>2015-01-06 22:07:44 +0900
commit345174564afb6ac44ac9eb11367e974c040965b4 (patch)
treea358f296f886093f93c159236f8c1cfa501b1d84
parentdc477a2df179ca6dc14a43c2d63945e6d3c5f7a2 (diff)
parent067f60cefa5ab0232798505b5e7e5c7b2e91a94f (diff)
downloadcrow-345174564afb6ac44ac9eb11367e974c040965b4.tar.gz
crow-345174564afb6ac44ac9eb11367e974c040965b4.zip
Merge pull request #44 from nakosung/master
fixed typo
-rw-r--r--examples/example.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/example.cpp b/examples/example.cpp
index 1db145f..fd0d0b5 100644
--- a/examples/example.cpp
+++ b/examples/example.cpp
@@ -10,11 +10,11 @@ class ExampleLogHandler : public crow::ILogHandler {
}
};
-struct ExampleMiddelware
+struct ExampleMiddleware
{
std::string message;
- ExampleMiddelware()
+ ExampleMiddleware()
{
message = "foo";
}
@@ -41,9 +41,9 @@ struct ExampleMiddelware
int main()
{
- crow::App<ExampleMiddelware> app;
+ crow::App<ExampleMiddleware> app;
- app.get_middleware<ExampleMiddelware>().setMessage("hello");
+ app.get_middleware<ExampleMiddleware>().setMessage("hello");
CROW_ROUTE(app, "/")
.name("hello")