aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2024-01-01 21:13:58 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2024-01-02 09:28:44 +0000
commit93cc4a3144fe833eab4677a2eddc622506d646d6 (patch)
tree043ef4d3e3c9e7bacfae6ea7aec93db90d65be38 /vespalib
parent4a3ae51391fbcda7d620f7669dac537cbc1b4df4 (diff)
Use std::from_chars instead of strtoll.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/locale/locale.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/locale/locale.h b/vespalib/src/vespa/vespalib/locale/locale.h
index 10ac6144fe7..16aa7a77d98 100644
--- a/vespalib/src/vespa/vespalib/locale/locale.h
+++ b/vespalib/src/vespa/vespalib/locale/locale.h
@@ -14,7 +14,7 @@ public:
Locale(); // Standard C locale, NOT default locale.
Locale(int category, const char *locale);
~Locale();
- locale_t get() const { return _locale; }
+ locale_t get() const noexcept { return _locale; }
private:
locale_t _locale;
};