This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################################### | |
# Copyright (c) 2020 Qingfeng Xia <qingfeng.xia_ukaea.uk> # | |
# # | |
# This file is part of the FreeCAD CAx development system. # | |
# # | |
# This library is free software; you can redistribute it and/or # | |
# modify it under the terms of the GNU Library General Public # | |
# License as published by the Free Software Foundation; either # | |
# version 2 of the License, or (at your option) any later version. # | |
# # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
NLOHMANN_JSON_SERIALIZE_ENUM expanded to inline functions, so this macro should be placed in header where enum class is declared | |
also this macro must be declared within enum type's namespace | |
``` | |
// include loguru header here, declear enum NamedVerbosity | |
// this code injection happen in your project header file, no need to modify loguru.hpp | |
namespace loguru | |
{ | |
// this macro must be called in the enum declaring namespace |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.