remove iface prefix in namespace from iface library

This commit is contained in:
falsycat 2023-07-22 06:37:25 +09:00
parent deca5c4a50
commit 44ffc66536
3 changed files with 6 additions and 6 deletions

View File

@ -6,8 +6,8 @@
#include "generated/git_hash.hh"
namespace nf7::iface {
namespace nf7 {
const char* version() noexcept { return GIT_HASH; }
} // namespace nf7::iface
} // namespace nf7

View File

@ -1,8 +1,8 @@
// No copyright
#pragma once
namespace nf7::iface {
namespace nf7 {
const char* version() noexcept;
} // namespace nf7::iface
} // namespace nf7

View File

@ -8,6 +8,6 @@
int main() {
std::cout << "iface version: " << nf7::iface::version() << std::endl;
std::cout << "core version: " << nf7::iface::version() << std::endl;
std::cout << "iface version: " << nf7::version() << std::endl;
std::cout << "core version: " << nf7::core::version() << std::endl;
}