Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
5bb7cbc6
Commit
5bb7cbc6
authored
14 years ago
by
Aimee Linden
Browse files
Options
Downloads
Patches
Plain Diff
VWR-20749 (SNOW-624) FIXED Fix compiling the viewer with Boost 1.42
parent
6baedc13
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/contributions.txt
+1
-0
1 addition, 0 deletions
doc/contributions.txt
indra/newview/llcommandlineparser.cpp
+7
-2
7 additions, 2 deletions
indra/newview/llcommandlineparser.cpp
with
8 additions
and
2 deletions
doc/contributions.txt
+
1
−
0
View file @
5bb7cbc6
...
...
@@ -151,6 +151,7 @@ blino Nakamura
Boroondas Gupte
SNOW-278
SNOW-527
SNOW-624
VWR-233
WEB-262
Bulli Schumann
...
...
This diff is collapsed.
Click to expand it.
indra/newview/llcommandlineparser.cpp
+
7
−
2
View file @
5bb7cbc6
...
...
@@ -53,7 +53,7 @@
namespace
po
=
boost
::
program_options
;
// *N
T
OE:MEP - Currently the boost object reside in file scope.
// *NO
T
E:MEP - Currently the boost object reside in file scope.
// This has a couple of negatives, they are always around and
// there can be only one instance of each.
// The plus is that the boost-ly-ness of this implementation is
...
...
@@ -156,6 +156,12 @@ class LLCLPValue : public po::value_semantic_codecvt_helper<char>
return
mIsComposing
;
}
// Needed for boost 1.42
virtual
bool
is_required
()
const
{
return
false
;
// All our command line options are optional.
}
virtual
bool
apply_default
(
boost
::
any
&
value_store
)
const
{
return
false
;
// No defaults.
...
...
@@ -169,7 +175,6 @@ class LLCLPValue : public po::value_semantic_codecvt_helper<char>
{
mNotifyCallback
(
*
value
);
}
}
protected
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment