summaryrefslogtreecommitdiff
path: root/src/mg_decoration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mg_decoration.h')
-rw-r--r--src/mg_decoration.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mg_decoration.h b/src/mg_decoration.h
index 3b809b8d4..c92cfe4dc 100644
--- a/src/mg_decoration.h
+++ b/src/mg_decoration.h
@@ -131,7 +131,7 @@ public:
return "decoration";
}
- Decoration *create(int type)
+ static Decoration *create(DecorationType type)
{
switch (type) {
case DECO_SIMPLE: