Fix RCPP_OBJECT declaration.

This commit is contained in:
Relintai 2021-10-31 14:33:22 +01:00
parent ce22bde08f
commit 12cd5a9b72
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright (c) 2019-2020 Péter Magyar # Copyright (c) 2019-2021 Péter Magyar
# #
# Permission is hereby granted, free of charge, to any person obtaining a copy # Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal # of this software and associated documentation files (the "Software"), to deal

View File

@ -10,7 +10,7 @@ class Request;
class FormValidator; class FormValidator;
class MourneUserController : public UserController { class MourneUserController : public UserController {
RCPP_OBJECT(UserController, UserController); RCPP_OBJECT(MourneUserController, UserController);
public: public:
void render_login_request_default(Request *request, LoginRequestData *data); void render_login_request_default(Request *request, LoginRequestData *data);
void render_register_request_default(Request *request, RegisterRequestData *data); void render_register_request_default(Request *request, RegisterRequestData *data);