aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils
diff options
context:
space:
mode:
authormattprost <matt.prost@ni.com>2020-04-08 16:39:14 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2020-04-09 09:58:20 -0500
commit722e944323c387f607d580ddfa2c5d9d2a1a76cc (patch)
treeccfa6a610077fd5a3b95620754ac512dfa7f9a66 /host/lib/utils
parentc86bd938e7ff3debe1df09639e2479e02353ab17 (diff)
downloaduhd-722e944323c387f607d580ddfa2c5d9d2a1a76cc.tar.gz
uhd-722e944323c387f607d580ddfa2c5d9d2a1a76cc.tar.bz2
uhd-722e944323c387f607d580ddfa2c5d9d2a1a76cc.zip
fixup! uhd: Add fuzzy serial number checking
Diffstat (limited to 'host/lib/utils')
-rw-r--r--host/lib/utils/serial_number.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/host/lib/utils/serial_number.cpp b/host/lib/utils/serial_number.cpp
index 7fd0863d6..af66197fd 100644
--- a/host/lib/utils/serial_number.cpp
+++ b/host/lib/utils/serial_number.cpp
@@ -8,8 +8,7 @@
#include <stdexcept>
#include <string>
-namespace uhd
-{
+namespace uhd { namespace utils {
bool serial_numbers_match(const std::string& serial_a, const std::string& serial_b)
{
try {
@@ -20,4 +19,4 @@ namespace uhd
return false;
}
}
-}
+}}