diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-03-17 23:14:52 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-03-17 23:14:52 +0000 |
commit | 30e841d5b6f082bce1f98c6df198aeea28a2d95b (patch) | |
tree | 68727dcfae385733e4acebcb52bdde6486ebee88 /src/optparser.h | |
parent | 4f96052772c46ceba8ca074e4206646661462533 (diff) | |
download | libbu++-30e841d5b6f082bce1f98c6df198aeea28a2d95b.tar.gz libbu++-30e841d5b6f082bce1f98c6df198aeea28a2d95b.tar.bz2 libbu++-30e841d5b6f082bce1f98c6df198aeea28a2d95b.tar.xz libbu++-30e841d5b6f082bce1f98c6df198aeea28a2d95b.zip |
Tweaks to the variant class make it much cooler, and there's a test/tool
called format, it's a proof of concept of a text formatter. I think it's
gonna' rock.
Diffstat (limited to '')
-rw-r--r-- | src/optparser.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/optparser.h b/src/optparser.h index 4142e22..e653180 100644 --- a/src/optparser.h +++ b/src/optparser.h | |||
@@ -78,7 +78,10 @@ namespace Bu | |||
78 | } | 78 | } |
79 | else | 79 | else |
80 | { | 80 | { |
81 | setValueFromStr( vVar.toString() ); | 81 | Bu::MemBuf mb; |
82 | Bu::Formatter f( mb ); | ||
83 | // f << vVar; | ||
84 | setValueFromStr( mb.getString() ); | ||
82 | } | 85 | } |
83 | } | 86 | } |
84 | 87 | ||