aboutsummaryrefslogtreecommitdiffstats
path: root/searchcommon
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-01-02 10:26:19 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-01-02 10:26:19 +0000
commit9369597f64c4b1cf5eabb9f974165910d4f2fae0 (patch)
treec5d66f5ae60f84c190a8bbc39e8c9a11d36ffbb6 /searchcommon
parent7629021f657614aa4428584a71084e85b52f378b (diff)
GC unused code
Diffstat (limited to 'searchcommon')
-rw-r--r--searchcommon/src/vespa/searchcommon/attribute/basictype.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/searchcommon/src/vespa/searchcommon/attribute/basictype.h b/searchcommon/src/vespa/searchcommon/attribute/basictype.h
index 9be26b0816b..926246c7029 100644
--- a/searchcommon/src/vespa/searchcommon/attribute/basictype.h
+++ b/searchcommon/src/vespa/searchcommon/attribute/basictype.h
@@ -34,7 +34,6 @@ class BasicType
Type type() const { return _type; }
const char * asString() const { return asString(_type); }
- bool isUnsigned() const { return isUnsigned(_type); }
size_t fixedSize() const { return fixedSize(_type); }
static BasicType fromType(bool) { return BOOL; }
static BasicType fromType(int8_t) { return INT8; }
@@ -48,7 +47,6 @@ class BasicType
private:
static const char * asString(Type t) { return _typeTable[t]._name; }
- static bool isUnsigned(Type t) { return _typeTable[t]._name[0] == 'u'; }
static size_t fixedSize(Type t) { return _typeTable[t]._fixedSize; }
static Type asType(const vespalib::string & t);