git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix debug build, use separate clang-tidy config.
[stg.git]
/
libs
/
srvconf
/
parsers
/
chg_admin.h
diff --git
a/libs/srvconf/parsers/chg_admin.h
b/libs/srvconf/parsers/chg_admin.h
index 7041aa8ef60e34ebc9cb4350db3351ffd2f9915d..57ceef93ce46c44fa9cd3f8423c1540d89809020 100644
(file)
--- a/
libs/srvconf/parsers/chg_admin.h
+++ b/
libs/srvconf/parsers/chg_admin.h
@@
-18,8
+18,7
@@
* Author : Maxim Mamontov <faust@stargazer.dp.ua>
*/
* Author : Maxim Mamontov <faust@stargazer.dp.ua>
*/
-#ifndef __STG_STGLIBS_SRVCONF_PARSER_CHG_ADMIN_H__
-#define __STG_STGLIBS_SRVCONF_PARSER_CHG_ADMIN_H__
+#pragma once
#include "base.h"
#include "base.h"
@@
-27,16
+26,15
@@
#include <string>
#include <string>
-struct ADMIN_CONF_RES;
-
namespace STG
{
namespace STG
{
-namespace CHG_ADMIN
+
+struct AdminConfOpt;
+
+namespace ChgAdmin
{
{
-std::string
Serialize(const ADMIN_CONF_RES & conf, const std::string
& encoding);
+std::string
serialize(const AdminConfOpt& conf, const std::string
& encoding);
-} // namespace C
HG_ADMIN
+} // namespace C
hgAdmin
} // namespace STG
} // namespace STG
-
-#endif